Open Source · MIT License

Control Claude Code from anywhere

Handy to set up, powerful to use, and secure with no open ports. Inherits your Claude Code permission policies as-is, and gives you full control over every project and session on your host — all from Telegram.

View on GitHub How It Works
$ npm install -g @kcisoul/remotecode click to copy
Features

Everything you need, remotely

Works directly with your local Claude Code installation. Same sessions, same projects, same context.

💬

Text Chat

Send any message, get Claude Code responses with full Markdown formatting rendered as Telegram HTML.

🖼

Image Analysis

Send photos or image documents with optional captions. Claude Code sees and analyzes them.

🎙

Voice Messages

Speak your prompts. Transcribed locally via whisper-cli -- completely offline and free.

📂

Session Management

Multiple sessions, switch between them, browse by project. View conversation history for each session.

🔄

Auto-Sync

Watch active sessions and forward new messages in real-time. Use Claude on your host, see it on Telegram.

🔒

Access Control

Restrict access by Telegram user ID or username. Unauthorized users are silently blocked.

🛡

Smart Permissions

Follows your host Claude Code permission rules automatically. Approve tools from Telegram with per-tool session-level control.

🎯

Session Takeover

Started a task in the terminal and stepped away? If Claude is stuck waiting, open Telegram, see what it needs, and keep it going.

🔔

Cross-Session Scanner

Running multiple sessions? Get notified when any of them needs your input, not just the one you're looking at.

Getting Started

Up and running in minutes

Three steps to control Claude Code from your phone.

Install

Install globally via npm. Requires Node.js 18+ and Claude Code CLI already set up.

Configure

Run remotecode and follow the setup wizard. Add your Telegram bot token and allowed users.

Go

The daemon starts in the background. Open Telegram, send a message to your bot, and you're in.

Demo

See it in action

Watch RemoteCode in action.

Telegram Commands

Built-in commands

Quick actions right from the Telegram chat.

Command Description
/startWelcome message with quick action buttons
/sessionsBrowse and switch between recent sessions
/projectsBrowse sessions grouped by project directory
/newStart a new Claude Code session
/historyShow conversation history of current session
/cancelCancel the current task
/resumeList sessions in the current project
/modelSwitch Claude model (Sonnet / Opus / Haiku)
/syncToggle auto-sync notifications

Ready to go remote?

Install RemoteCode and start coding from anywhere.

Get Started npm Package