Documentation
Your computer
Host commands
Run these in a terminal on the computer where the host is installed. Installing puts repogo on your PATH (see Install the host); npx @repogo/host <command> works too. repogo help lists them all, and repogo help <command> shows one command's options.
| Command | What it does |
|---|---|
repogo | Install and start the host, then show a pairing code |
repogo pair | Show a pairing code for another device |
repogo status | Show whether the host is running, and its version |
repogo start / stop / restart | Start, stop or restart the background host |
repogo start --lan | Also let phones on the same Wi-Fi connect straight to this machine, skipping the relay. It stays on for whatever network the machine joins, a café's included, so anyone there can reach the port (but can't connect without pairing). --lan=false turns it off |
repogo start --tailscale=false | Stop serving phones on this machine's Tailscale address. On by default: phones on your tailnet connect straight to it. Turn it off on a shared or work tailnet, where every member can reach the port |
repogo logs | Show the host's logs |
repogo update | Update to the latest version |
repogo devices | List the paired devices |
repogo devices revoke <id> | Remove a device: its connections close and it can no longer reach the host |
repogo devices revoke --all | Remove every paired device, yours included, and end any reusable invite |
repogo tunnels | List the public tunnels that are open |
repogo tunnels close <slug> | Close a tunnel; its URL stops working right away |
repogo tls | Show the TLS key your phones pin |
repogo tls rotate | Make a new TLS key; every device pairs again |
repogo keep-awake enable | Keep a Mac awake with its lid closed while a device is paired |
repogo uninstall | Remove the background service and agent hooks |
repogo version | Print the host's version |
uninstall, tls rotate and devices revoke --all ask before they act. Add --yes to skip the question, as a script must: run without a terminal, they refuse rather than wait.
Update#
repogo updateThe update waits for running work: it refuses while chats, terminals or actions are running. Add --now to stop them and update anyway.
Start over#
If a phone is lost, or something looks wrong, go one step at a time:
- Remove every device:
repogo devices revoke --all. Their connections close, no old pairing link works, and you pair your own phone again withrepogo pair. - Make a new TLS key if you think the computer's key itself was copied:
repogo tls rotate. Every device pairs again. - As a last resort, if the host's own identity in
~/.repogo/device.jsonmay have been copied, give the computer a new one: runrepogo stop, delete~/.repogo/device.json,~/.repogo/tls-key.jsonand~/.repogo/pair-reusable.json, then runrepogoto start it and pair again. Your phones see it as a new environment.
Uninstall#
repogo uninstall
rm -rf ~/.repogouninstall removes the background service, RepoGo's agent hooks and the repogo link in ~/.local/bin, and keeps your pairings and data in ~/.repogo. Delete that folder to remove everything.