Failure stays local
One broken connection cannot restart every other tunnel. Each job has its own lifecycle, logs, PID, and failure state.
V1 PREVIEW · SINGLE GO BINARY
Turn OpenSSH -L, -R, and -D forwards into named connections. Run them in your terminal or hand each one directly to launchd or systemd—without a central daemon.
macOS 12+ · Linux with systemd user services · Windows not published · MIT
$ tunlite add db \ -L 5432:localhost:5432 deploy@app01 ✓ db added · stopped $ tunlite enable db ✓ persistent · running $ tunlite status db connection db mode persistent process running consistency consistent scope user
PREVIEW VALIDATION
Intel macOS has passed the final Universal 2 build check, LaunchAgent release E2E, and an isolated LaunchDaemon user↔system lifecycle with real SSH traffic and restart without sudo. Ubuntu 24.04 PID 1 systemd Docker E2E has passed. Apple Silicon hardware and non-container Linux hosts remain explicit pre-stable gates; Windows compiles but is not published.
THE SMALLER CONTROL PLANE
Tunlite plans the connection, then gets out of the runtime path. The operating system executes ssh directly and owns restarts, logs, and login persistence.
One broken connection cannot restart every other tunnel. Each job has its own lifecycle, logs, PID, and failure state.
No account, cloud relay, custom protocol, or embedded SSH stack. Inspect the generated plan and the native service definition.
Automation-facing operations support stable JSON and non-interactive execution, with dry-run where mutation matters and per-item batch failures. Scope stays local to the machine.
ONE DECLARATION, THREE MODES
runforeground — owned by the current terminalstartbackground — survives the terminal, not the next loginenablepersistent — starts now and returns on future loginsenable --scope systemmacOS system — explicit, privileged, and independent of loginINSTALL THE PREVIEW
The bootstrap selects the native archive, verifies it against the release SHA256SUMS, validates the staged binary, then atomically installs it to ~/.local/bin/tunlite.
$ curl -fsSL https://raw.githubusercontent.com/tunlite/tunlite/main/bootstrap.sh | sh
HUMAN CLI · MACHINE CONTRACT
$ tunlite capabilities --json --non-interactive { "protocolVersion": 1, "nativeServices": { "available": true, "adapter": "launchd", "scope": { "default": "user", "supported": ["user", "system"] } } }
use-tunlite Agent Skill