jsaddle-terminal: Run jsaddle apps in a tmux pane, tunnelling over stdin/stdout
A jsaddle transport for executables that run inside a tmux pane. When a watching IDE (leksah) answers the handshake, jsaddle Batch/Results JSON is tunnelled over the process's own stdin/stdout — framed as OSC 5799 escape sequences on stdout (delivered to the IDE via tmux control-mode %output) and RS-prefixed lines on stdin (injected via tmux send-keys -H) — and the UI renders in an iframe hosted by the IDE. No sockets are opened on the app's machine, so it works over ssh-reached tmux servers too. When nobody answers the handshake there is nothing to tunnel to, so the runner reports that on stderr and stops (an earlier version fell back to serving the app over jsaddle-warp; that has been removed).
Modules
[Index] [Quick Jump]
Flags
Manual Flags
| Name | Description | Default |
|---|---|---|
| demo | Build the jsaddle-terminal-demo executable. Off by default: it needs reflex-dom-core, whose released versions lag new GHCs (base upper bounds), which would break solving the whole project on those GHCs. | Disabled |
Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info
Downloads
- jsaddle-terminal-0.1.0.0.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
- No Candidates
| Versions [RSS] | 0.1.0.0 |
|---|---|
| Change log | ChangeLog.md |
| Dependencies | aeson (>=0.11.3.0 && <2.4), base (>=4.16 && <5), base64-bytestring (>=1.0.0.1 && <1.3), bytestring (>=0.10.6.0 && <0.13), containers (>=0.5.6.2 && <0.9), ghcjs-dom (>=0.10 && <0.11), jsaddle (>=0.9.4 && <0.10), jsaddle-terminal, reflex (>=0.9 && <0.10), reflex-dom-core (>=0.9 && <0.10), stm (>=2.4.4 && <2.6), text (>=1.2.1.3 && <1.3 || >=2.0 && <2.2), unix (>=2.7 && <2.9), Win32 (>=2.13.0.0 && <2.15) [details] |
| License | MIT |
| Author | Hamish Mackenzie |
| Maintainer | Hamish.K.Mackenzie@gmail.com |
| Uploaded | by HamishMackenzie at 2026-11-13T05:45:10Z |
| Category | Web, Javascript |
| Source repo | head: git clone https://github.com/ghcjs/jsaddle(jsaddle-terminal) |
| Distributions | |
| Executables | jsaddle-terminal-demo |
| Downloads | 2 total (2 in the last 30 days) |
| Rating | (no votes yet) [estimated by Bayesian average] |
| Your Rating | |
| Status | Docs available [build log] Last success reported on 2026-11-13 [all 1 reports] |