Small Rust daemon that serves a localhost web page for managing terminal sessions run by tmux.
cargo runThen open:
http://127.0.0.1:8765
The daemon binds to 127.0.0.1:8765 by default. Override it with:
cargo run -- --bind 127.0.0.1:9000Install a user-level launchd service:
cargo run -- installThe installer writes:
~/Library/LaunchAgents/com.remotewebterminal.daemon.plist
It runs without sudo, binds to 127.0.0.1:8765 by default, and writes logs to:
~/Library/Logs/RemoteWebTerminal/
Lifecycle commands:
cargo run -- status
cargo run -- stop
cargo run -- start
cargo run -- uninstallUse a custom bind address or tmux binary with the global options:
cargo run -- --bind 127.0.0.1:9000 --tmux-bin /opt/homebrew/bin/tmux installThe installer pins the daemon to the standard interactive tmux socket for the current user, such as:
/private/tmp/tmux-501/default
Override it when your tmux server uses a custom socket:
cargo run -- --tmux-socket /path/to/tmux-socket installWhen installing a built binary directly:
cargo build --release
./target/release/remote-web-daemon install- List tmux sessions, windows, and panes.
- Create and kill tmux sessions.
- Capture pane output.
- Send literal text or named keys such as
C-c. - Kill individual panes.
GET /api/healthGET /api/sessionsPOST /api/sessionsDELETE /api/sessions/:nameGET /api/panes/:pane_id/capture?lines=200POST /api/panes/:pane_id/send-textPOST /api/panes/:pane_id/send-keyDELETE /api/panes/:pane_id