You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4-22Lines changed: 4 additions & 22 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,12 +6,6 @@ Lizardtail is a Tailscale Serve wrapper around other commands. It runs a command
6
6
lizardtail pnpm dev
7
7
```
8
8
9
-
For Pi Postbox, use the built-in shortcut:
10
-
11
-
```bash
12
-
lizardtail postbox
13
-
```
14
-
15
9
```text
16
10
Local: http://localhost:5173
17
11
@@ -24,7 +18,6 @@ Use it when your dev server is running on a remote machine and you want to open
24
18
## Features
25
19
26
20
- Runs any command you pass it, such as `pnpm dev`, `npm run dev`, `bun run dev`, or `python -m http.server`.
27
-
- Supports `lizardtail postbox` as a shortcut that launches `pi-postbox-server`, detects its actual printed local port, and exposes that port.
28
21
- Streams the child command's stdout/stderr normally.
29
22
- Detects common dev-server output formats, including `http://localhost:5173`, `http://127.0.0.1:3000`, `started server on 0.0.0.0:8080`, and `PORT=4321`.
30
23
- Ignores timing output like `ready in 500 ms` so it does not accidentally expose port `500`.
@@ -45,7 +38,6 @@ Use it when your dev server is running on a remote machine and you want to open
45
38
46
39
- Node.js 20 or newer.
47
40
- Tailscale installed and available as `tailscale` on `PATH`.
48
-
- For `lizardtail postbox`, `pi-postbox-server` must also be installed or linked on `PATH`.
49
41
- The device must be logged into Tailscale.
50
42
- Tailscale Serve must be available for the device/tailnet.
51
43
- For `--public`, Tailscale Funnel must be enabled for the device/tailnet.
@@ -110,7 +102,6 @@ node dist/index.js pnpm dev
110
102
```bash
111
103
lizardtail [options] -- <command> [args...]
112
104
lizardtail [options] <command> [args...]
113
-
lizardtail postbox [pi-postbox-server args...]
114
105
lizardtail help [topic]
115
106
lizardtail config init
116
107
```
@@ -145,25 +136,16 @@ These commands are meant for both humans and coding agents: they describe usage,
145
136
146
137
## Examples
147
138
148
-
### Pi Postbox
149
-
150
-
```bash
151
-
lizardtail postbox
152
-
```
153
-
154
-
This starts `pi-postbox-server` with `--host 127.0.0.1` and preferred `--port 3000`, passes any extra arguments after `postbox` through to `pi-postbox-server`, waits for the server's printed listening URL, and exposes the detected actual port privately to your tailnet. If Postbox falls back because port `3000` is busy, lizardtail exposes the fallback port.
With this shortcut, `lizardtail --port 3333 postbox` passes `3333` as Postbox's preferred local port and still detects the actual port before exposing.
162
-
163
-
### Vite / frontend dev server
145
+
If the frontend dev server proxies API requests to a backend, expose the frontend port so the proxied backend remains reachable from the remote browser:
console.error("lizardtail: failed to start pi-postbox-server: not found on PATH. Install or link @pi-postbox/server so the pi-postbox-server binary is available.");
0 commit comments