latchup
v0.1.7
Published
A self-hosted panel to view and manage all your instances across systems.
Readme
Latch
A self-hosted panel for managing processes across all your systems.
What is Latch?
Latch is a self-hosted dashboard for viewing and managing your processes across multiple systems.
Think of it as an SSH key for your browser.
Install Latch on a VPS, open the dashboard, and remotely:
- 👀 Monitor your processes
- 🔄 Restart applications
- ⏹️ Stop running processes
- ⚙️ Update process configuration
- 🖥️ Manage multiple machines from one panel
[!IMPORTANT] Latch works like this: your Host => the internet => your router => your device. None of your data goes through any Latch infrastructure, there isn't any.
Get started
npm install --global latchupStart the panel:
latch upLatch will start the panel over TLS and print:
- A secure connection URL
- A short, one-time pairing code
Open the URL in your browser, enter the code, and your device is paired.
That is it.
Full walkthrough, every command, and troubleshooting: user-guide.md.
Why Latch?
Existing tools force users into a trap. Latch does everything, no sign-in or billing required.
- PM2 is great but single-host, Node and CLI only
- Portainer / Coolify / Dokploy are heavyweight - full PaaS platforms when all you wanted was to see and edit your processes
- pm2.io is paid whilst seeing all of your data
Latch is the best of all worlds
✅ Lightweight ✅ Multi-VPS ✅ Runtime-agnostic ✅ Browser-based ✅ Self-hosted ✅ No external Latch account required
Run Node.js, Python, shell scripts, compiled binaries, or anything else your machine can execute.
Security
Latch has a simple root of trust:
If you can SSH into the machine, you can use Latch. If you cannot, you cannot.
Self-hosted by design
The Latch panel runs on infrastructure you control.
Your browser connects to your machine rather than connecting through a hosted Latch backend.
Device pairing instead of passwords
Run:
latch upLatch generates a connection URL and a short-lived, one-time code.
Enter the code in the panel to pair your browser securely with the Latch instance.
The SSH login hook can reprint the pairing information whenever you log into the machine.
[!NOTE] Pairing codes are intended for initial device authentication. They are not permanent passwords.
Multi-VPS management
One machine runs the Latch Hub, which hosts the dashboard.
Your other machines run lightweight Latch Agents that connect using tokens.
┌─────────────────┐
│ Browser │
└────────┬────────┘
│
▼
┌─────────────────┐
│ Latch Panel │
│ │
└────────┬────────┘
│
┌────────────────┼────────────────┐
│ │ │
▼ ▼ ▼
┌────────────────┐ ┌────────────────┐ ┌────────────────┐
│ │ │ │ │ │
│ VPS A │ │ VPS B │ │ VPS C │
├────────────────┤ ├────────────────┤ ├────────────────┤
│ Processes │ │ Processes │ │ Processes │
└────────────────┘ └────────────────┘ └────────────────┘- Start the panel
- Generate an agent token.
- Join another machine.
- Manage everything from one dashboard.
One panel. Every machine. Every process.
License
Latch is licensed under GNU AGPL v3.0.
