termbridge 0.3.5 → 0.3.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,60 +1,46 @@
1
1
  # Termbridge
2
2
 
3
- Local-first terminal beaming with tmux + Cloudflare tunnel and a mobile-friendly UI.
3
+ Access your terminal from anywhere beam it to your phone with one command.
4
4
 
5
- ## Quick start
5
+ ## Quick Start
6
6
 
7
- Prereqs:
8
- - Node.js 18+
9
- - tmux in PATH
10
- - cloudflared in PATH
11
-
12
- Run:
7
+ **Prerequisites:** Node.js 18+, [tmux](https://github.com/tmux/tmux), [cloudflared](https://developers.cloudflare.com/cloudflare-one/connections/connect-networks/downloads/)
13
8
 
14
9
  ```bash
15
10
  npx termbridge
16
11
  ```
17
12
 
18
- Scan the QR code and open the URL on your phone. The CLI stays running while the tunnel is active.
19
- Use the action tray in the UI for quick navigation, including line + page scroll jumps.
20
-
21
- ## Documentation
22
-
23
- Visit `https://termbridge.dev` for the full docs, architecture notes, and troubleshooting.
24
-
25
- ## CLI usage
13
+ Scan the QR code and you're connected!
26
14
 
27
- ```bash
28
- termbridge --port 8080 --session dev --kill-on-exit --no-qr --tunnel cloudflare
29
- ```
30
-
31
- Flags:
32
- - `--port <port>`: fixed local port (default: random free port)
33
- - `--session <name>`: tmux session name override
34
- - `--kill-on-exit`: kill tmux sessions on exit
35
- - `--no-qr`: disable QR output
36
- - `--tunnel cloudflare`: tunnel provider (default)
15
+ ## What It Does
37
16
 
38
- ## Environment variables
17
+ Termbridge runs a local server that connects to your terminal (via tmux), then creates a secure Cloudflare tunnel. Access your terminal from your phone or any browser.
39
18
 
40
- - `TERMBRIDGE_SESSIONS=2`: create multiple tmux sessions on start
41
- - `TERMBRIDGE_INSECURE_COOKIE=1`: allow HTTP cookies for local dev
42
- - `TERMBRIDGE_DEV_UI=http://127.0.0.1:5173`: override Vite dev UI URL
19
+ **Features:**
20
+ - Mobile-first UI with quick actions
21
+ - Multi-terminal support (switch between tmux sessions)
22
+ - Proxy mode to preview your dev server alongside the terminal
23
+ - Optional Daytona sandbox support for cloud terminals
24
+ - Coding agent integration (Claude Code, Codex, OpenCode)
43
25
 
44
- ## Development
26
+ ## CLI Options
45
27
 
46
28
  ```bash
47
- bun install
48
- bun run dev:beam
49
- bun run dev:beam:multi
50
- bun run test
29
+ termbridge [options]
51
30
  ```
52
31
 
53
- ## Troubleshooting
32
+ | Option | Description |
33
+ |--------|-------------|
34
+ | `--port <port>` | Use a specific local port |
35
+ | `--proxy <port>` | Proxy a local dev server |
36
+ | `--session <name>` | Name for the tmux session |
37
+ | `--kill-on-exit` | Kill tmux sessions on exit |
38
+ | `--no-qr` | Don't show the QR code |
39
+ | `--backend <mode>` | `tmux` (default) or `sandbox-daytona` |
40
+
41
+ ## Documentation
54
42
 
55
- - `tmux` not found: install `tmux` and ensure it is on your PATH.
56
- - `cloudflared` not found: install Cloudflare's tunnel client and ensure it is on your PATH.
57
- - `node-pty` issues: ensure the spawn-helper binary is executable (Termbridge attempts to fix this automatically).
43
+ Full documentation, environment variables, and Daytona sandbox setup at [termbridge.dev](https://termbridge.dev) or see the [GitHub README](https://github.com/inline0/termbridge).
58
44
 
59
45
  ## License
60
46