IMPORTANT - DO NOT SHARE TUNNEL LINK OR PIN WITH ANYONE. THEY CAN LITERALLY ACCESS YOUR COMPUTER. SHARE ONLY IF YOU KNOW WHAT YOU ARE DOING.
A zero-config, real-time Web Operating System that drops onto your local machine and securely exposes a full desktop/terminal experience over the web.
Technical details on why it exists: satyendra.in/blog/why-i-built-latch
recording_3x_small.webm
The easiest way to get it running:
curl -fsSL https://raw.githubusercontent.com/s4tyendra/latch/main/install.sh | bashManual / Binary Release: Alternatively, grab the static binary for your architecture directly from the Releases page:
chmod +x latch
sudo mv latch /usr/bin/
latchJust run latch to start the server. Need to bypass a firewall? Use the tunnel.
--tunnel: Instantly exposes Latch to the public internet via Cloudflare. Auto-downloadscloudflaredsecurely if it's not present on your system.--port <PORT>: The local port to bind and listen on. Defaults to8080. (If using--tunnelwithout a port, it picks a random ephemeral port between40000and60000).--max-users: Maximum concurrent users allowed in the session at once. Defaults to10.
- PTY Terminal: Full PTY support with multi-user multiplexed sync that just works out of the box. Includes professional toolbars.
- Multiplayer Mode: Fully collaborative, interactive sessions for terminal and UI.
- File Manager: Upload(better upload than just POST), download, rename, delete, create, and edit. Direct file downloads straight from the terminal.
- Text Editor: Built-in workspace editor with synntax highlighting.
- Task Manager: Live monitoring and process management.
- Screen Stream: Live screenshot/streaming of the attached display (if you have one).
- Auth: Secure PIN-based authentication.
Latch gives you a zero-configuration web GUI, a fully integrated PTY terminal, live task manager, and file editor over any headless server. It's incredibly useful for homelabs, remote infrastructure troubleshooting, acting as a drop-in emergency dashboard over a tunnel when native SSH acts up, or just letting your senior dev securely jump in to fix your broken environment.
- Windows Support: Need help with Windows testing. If you can test or fix issues on Windows, PRs are highly welcome.
- Bugs / Feedback: Open an Issue.
- Changes / Fixes: Submit a Pull Request.
As of building this, there are no known CVEs for the libraries and dependencies used.
MIT — Do whatever you like. I don't care, and I can't guarantee anything.
See the LICENSE file for more information. (Provided "AS IS" without warranty of any kind).
Latch is MIT licensed, but if you use the code, concept, or design engineering tokens in your own project, a Star on GitHub is the best way to say thanks.