Hacker Newsnew | past | comments | ask | show | jobs | submit | remocode's commentslogin


I mostly wanted a “send a task now, check results later” flow when I’m away from my desk. With Discord already on my phone, this gives me a lightweight remote control for my existing OpenCode setup:

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.


Hey HN, I built this because I kept wanting to kick off coding tasks while away from my desk.

The problem: AI coding agents like OpenCode, Claude Code, and Codex are powerful, but they're trapped in your terminal. If you step away from your workstation, you can't interact with them.

The solution: remote-opencode is a Discord bot that runs alongside OpenCode on your dev machine. You send prompts from any device (phone, tablet, laptop), and the output streams back in real-time.

Key features: - Real-time streaming — see AI output as it's generated - Task queuing — send multiple tasks, they execute sequentially - Git worktree isolation — each task gets its own branch automatically - Passthrough mode — just type naturally in a thread, no slash commands needed - One-click PR creation from completed work - Access control via allowlist

Typical workflow: I'm on the couch, I type /opencode prompt:refactor the auth module to use JWT on my phone, and watch my home workstation do the work. When it's done, I queue the next task.

npm install -g remote-opencode && remote-opencode setup — takes about 2 minutes.

1000+ weekly downloads on npm. MIT licensed. Would love feedback and contributions.


Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: