TelegramCode

Run OpenCode and Claude Code coding agents on your own machine or VPS, driven from Telegram on your phone.

TelegramCode is a self-hosted Telegram bot that turns Telegram into a terminal for agentic coding CLIs. It runs on your own machine or server and connects out to Telegram only, so there are no open inbound ports. You bind each forum topic (or the bot's own DM) to a project folder, and each topic runs its own isolated OpenCode or Claude Code session that you drive by chat, voice, or file. Topics work like terminal tabs: one topic is one project, and two topics can share a folder for parallel work.

What it does

Install

npm install -g telegramcode

Put your bot token in one .env, launch from your projects folder, and bind a topic. Full quick start is in the README.

Links