I built remote-opencode, a Discord bot that runs on your dev machine and lets you use your local OpenCode CLI from anywhere (phone/tablet/another laptop).
It streams output back into Discord threads, supports queuing follow-ups, and can spin up per-task git worktrees with a PR button.
Repo & Demo: https://github.com/RoundTable02/remote-opencode
remocode•1h ago
Start a session from Discord, watch real-time progress in a thread, and keep iterating in the same place. If I send more instructions while it’s busy, they queue up and run sequentially. For longer changes, it can create an isolated git worktree/branch per task, and there’s a one-click “create PR” action when it’s ready. There’s also a passthrough mode so you can just type normally in the thread (less painful on mobile).
Quick start is basically:
- npm install -g remote-opencode
- remote-opencode setup
- remote-opencode start
Safety note: this runs locally on your machine. If you’re using it in any shared Discord server, you’ll want to enable the allowlist so only specific Discord user IDs can control it.
Would love feedback on the UX (Discord as the “remote terminal”) and the safety defaults / guardrails.