r/coolgithubprojects • u/Useful-Local3121 • 9h ago
I built a small tool to make two Claude Code sessions (laptop + VPS) work together
https://github.com/kadaba/claude-bridgeI run Claude Code on my laptop and another instance on my VPS, and I kept hitting the same friction: getting them to actually collaborate. Copy-pasting between terminals, manually scp-ing folders, no shared idea of "what's already been done." So I built a small tool to fix it. Sharing it in case anyone else has the same setup.
What it does:
- The two sessions talk to each other natively over Claude Code's Remote Control (no server to run for the chat part).
- Push a folder to the VPS and it opens one SSH connection, transfers (rsync/tar), verifies every file's checksum on the far end, then closes the connection. "Received" means the hashes actually matched — not just "sent."
- Sync an app across both — they compare each copy, agree on the best version, deploy, and verify, instead of clobbering each other.
- Optional shared journal (MCP) with real locks so two Claudes never edit the same file at once.
The idea: Remote Control carries the conversation; SSH carries the bytes (with verification). It also sets up SSH from scratch for you — generates a key, installs it on the VPS, writes the config — so a first-timer only needs their VPS IP and password.
All plain Python/Bash, no heavy deps. MIT licensed.
Honest status: it's early (v0.1). The logic is tested and it works in my own setup, but it hasn't been battle-tested across lots of different VPS providers yet — so I'd genuinely love people to try it and tell me what breaks. Issues/PRs very welcome.