远程操控 Remote Control
无论你在地铁、会议室还是沙发上,都能通过 Telegram 向 opencode 发送任务和跟进指令。 Send instructions to opencode from anywhere through Telegram, whether you're commuting, in a meeting, or away from your desk.
用 Telegram 遥控你的 AI 编程助手 Control your AI coding agent from Telegram
把手机变成 opencode 的轻量控制台:发指令、看输出、切项目、开新会话,不必一直守在终端前。 Turn your phone into a lightweight control console for opencode: send instructions, watch streamed output, switch projects, and start fresh sessions without living in a terminal.
核心能力 What it does
无论你在地铁、会议室还是沙发上,都能通过 Telegram 向 opencode 发送任务和跟进指令。 Send instructions to opencode from anywhere through Telegram, whether you're commuting, in a meeting, or away from your desk.
AI 输出会持续回流到聊天窗口,你可以第一时间看到执行进度、摘要和关键结果。 Watch AI output stream back into your chat instantly so you can follow progress, summaries, and key results in real time.
通过加密 WebSocket、基于 token 的鉴权和用户 allowlist,把远程控制能力放在你自己的安全边界里。 Keep remote control inside your security boundary with encrypted WebSocket transport, token-based auth, and a user allowlist.
架构 Architecture
You (Telegram) → Bot Server → Connector → opencode session You (Telegram) → Bot Server → Connector → opencode session
消息入口 Message entry
云端 · 机器人服务 / 鉴权 / 路由 Cloud · bot service / auth / routing
你的机器 · 保持连接 / 项目桥接 Your machine · persistent link / project bridge
opencode 进程 · 注入提示 / 回传输出 opencode process · inject prompts / stream output
快速开始 Quick Start
/start 给 @petfish_bot
Send /start to @petfish_bot
在 Telegram 中打开机器人,拿到一次性安装 token。 Open the bot in Telegram and receive your one-time install token.
连接器会自动完成安装、注册并连回服务器。 The connector installs itself, registers, and reconnects to the server automatically.
直接发自然语言即可,PetFish Remote 会把消息送进 opencode 会话。 Just type naturally. PetFish Remote forwards your message into the active opencode session.
功能列表 Features
不需要额外前缀,像聊天一样自然发消息即可。 Just type naturally, with no command prefix required.
常用动作按钮化,手机上更顺手。 Common actions become tap-friendly buttons for mobile control.
一个连接器可以桥接多个项目工作区。 One connector can bridge multiple project workspaces.
启动时检测版本漂移,尽量保持客户端和服务端一致。 Version drift is checked on startup so client and server stay aligned.
快速开新会话,避免历史上下文干扰当前任务。 Start clean sessions fast and avoid old context bleeding into new work.
可接入 AGENTS.md 流程,在 opencode 会话启动时自动挂载遥控能力。 Hook into AGENTS.md workflows so remote control comes online with each opencode session.
文档与链接 Documentation
Guide
了解安装、连接器行为和日常使用方式。 Learn installation, connector behavior, and day-to-day usage.
打开文档 → Open docs →Deploy
适合自部署场景,包含 Bot Server 与反向代理配置思路。 For self-hosting, including Bot Server deployment and reverse-proxy setup.
查看部署文档 → Read deployment guide →Source
查看代码、文档和版本演进,参与 PetFish Remote 的 Beta 共建。 Browse code, docs, and release history, and join the PetFish Remote beta journey.
Open repository →