1 pointby remocode5 hours ago1 comment
  • remocode5 hours ago
    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.