pi-for-office-tmux-bridge
v0.1.2
Published
One-command local HTTPS tmux bridge helper for Pi for Office.
Readme
pi-for-office-tmux-bridge
Local HTTPS tmux bridge helper for Pi for Office.
Usage
npx pi-for-office-tmux-bridgeThis command:
- Ensures
mkcertexists (installs via Homebrew on macOS if missing) - Creates certificates in
~/.pi-for-office/certs/when needed - Starts the bridge at
https://localhost:3341 - Runs in real
tmuxmode by default
Real mode requires tmux to be installed and available on PATH.
Optional assisted install (macOS/Homebrew):
npx pi-for-office-tmux-bridge --install-missingThis installs missing tmux before starting the bridge.
To force safe simulated mode:
TMUX_BRIDGE_MODE=stub npx pi-for-office-tmux-bridgeThen in Pi for Office:
- The default tmux bridge URL is already
https://localhost:3341 - (Optional) set
/experimental tmux-bridge-url <url>to use a non-default URL - (Optional) run
/experimental tmux-bridge-token <token>if you setTMUX_BRIDGE_TOKEN
Publishing (maintainers)
Package source lives in pkg/tmux-bridge/.
Before packing/publishing, prepack copies runtime files from repo root:
scripts/tmux-bridge-server.mjs
Publish from this directory:
cd pkg/tmux-bridge
npm publish