termbridge 0.3.4 → 0.3.6

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
@@ -33,13 +33,53 @@ Flags:
33
33
  - `--session <name>`: tmux session name override
34
34
  - `--kill-on-exit`: kill tmux sessions on exit
35
35
  - `--no-qr`: disable QR output
36
+ - `--no-tunnel`: disable the tunnel (requires `--public-url`)
37
+ - `--public-url <url>`: public URL when no tunnel is used
36
38
  - `--tunnel cloudflare`: tunnel provider (default)
39
+ - `--backend <tmux|daytona>`: terminal backend (defaults to tmux)
40
+ - `--daytona-direct`: run the server inside the Daytona sandbox (no tunnel)
37
41
 
38
42
  ## Environment variables
39
43
 
40
44
  - `TERMBRIDGE_SESSIONS=2`: create multiple tmux sessions on start
41
45
  - `TERMBRIDGE_INSECURE_COOKIE=1`: allow HTTP cookies for local dev
42
46
  - `TERMBRIDGE_DEV_UI=http://127.0.0.1:5173`: override Vite dev UI URL
47
+ - `TERMBRIDGE_PUBLIC_URL=https://example.com`: public URL when tunnel disabled
48
+ - `TERMBRIDGE_TUNNEL=none`: disable the tunnel
49
+
50
+ ### Daytona sandbox mode
51
+
52
+ ```bash
53
+ TERMBRIDGE_BACKEND=daytona
54
+ DAYTONA_API_KEY=your_key
55
+ DAYTONA_API_URL=https://app.daytona.io/api
56
+ TERMBRIDGE_DAYTONA_REPO=https://github.com/inline0/termbridge-test-app.git
57
+ TERMBRIDGE_DAYTONA_BRANCH=main
58
+ TERMBRIDGE_DAYTONA_PATH=termbridge-test-app
59
+ TERMBRIDGE_DAYTONA_NAME=termbridge-sandbox
60
+ TERMBRIDGE_DAYTONA_GIT_USERNAME=your_github_username
61
+ TERMBRIDGE_DAYTONA_GIT_TOKEN=your_github_token
62
+ TERMBRIDGE_DAYTONA_PUBLIC=true
63
+ TERMBRIDGE_DAYTONA_PREVIEW_PORT=5173
64
+ TERMBRIDGE_DAYTONA_DELETE_ON_EXIT=true
65
+ ```
66
+
67
+ ### Daytona direct mode (no tunnel)
68
+
69
+ ```bash
70
+ TERMBRIDGE_BACKEND=daytona
71
+ TERMBRIDGE_DAYTONA_DIRECT=true
72
+ TERMBRIDGE_DAYTONA_SERVER_PORT=8080
73
+ ```
74
+
75
+ ### Sandboxes
76
+
77
+ For short-lived sandboxes (tests, CI), use a dedicated prefix and enable cleanup:
78
+
79
+ ```bash
80
+ TERMBRIDGE_DAYTONA_NAME=termbridge-test-$(date +%s)
81
+ TERMBRIDGE_DAYTONA_DELETE_ON_EXIT=true
82
+ ```
43
83
 
44
84
  ## Development
45
85