Telegram bot that runs Claude Code across multiple projects
Project description
Telegram Coder
A Telegram bot that runs Claude Code in your projects. Each forum topic maps to a project directory — just send a message to start coding.
Requirements
- Python 3.11+, uv
- Telegram bot token + supergroup with forum topics (setup guide)
ANTHROPIC_API_KEYin your environment
Quick Start
git clone https://github.com/alfrcr/tgcoder.git
cd tgcoder
uv sync
uv run tgcoder setup # interactive config wizard
uv run tgcoder start # install and run as background service
To run in the foreground instead: uv run tgcoder run
Commands
Project
| Command | Description |
|---|---|
/register <name> <path> |
Link this topic to a project directory |
/unregister |
Unlink the current topic |
/projects |
List all registered projects |
Session
| Command | Description |
|---|---|
/newsession |
Start a fresh Claude session |
/compact |
Summarize session then clear it |
/clear |
Full reset (session + summary) |
/model [name] |
Show or set the Claude model for this topic |
/cancel |
Cancel a running task |
Code & Git
| Command | Description |
|---|---|
/plan <task> |
Plan a task without making changes |
/review [focus] |
Code review in an isolated git worktree |
/commit [message] |
Stage and commit current changes |
/push |
Push the current branch to remote |
Any non-command message in a registered topic is sent to Claude as a prompt.
Service
tgcoder start # install + start background service
tgcoder stop
tgcoder restart
tgcoder status
tgcoder logs
See service management docs for details on macOS (launchd) and Linux (systemd).
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file telegram_coder-0.2.0.tar.gz.
File metadata
- Download URL: telegram_coder-0.2.0.tar.gz
- Upload date:
- Size: 14.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.4.20
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b9ccd1b2e7f1d2e6572abee9180b15ffd1b03c90c510325ec6f1b10dfcb1a4bb
|
|
| MD5 |
3b510a991779f340a5186ad8af93ad5e
|
|
| BLAKE2b-256 |
df6f0587407c68f5b16c283b0249a3b0fcbfc2aaa1fcc259364a84cde90d19ad
|
File details
Details for the file telegram_coder-0.2.0-py3-none-any.whl.
File metadata
- Download URL: telegram_coder-0.2.0-py3-none-any.whl
- Upload date:
- Size: 17.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.4.20
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
63a1945f88343d96f134c07b5740f452b407656944883c8a8b4b2333ed2a88e5
|
|
| MD5 |
52e221d8c800ae709b7871281640c411
|
|
| BLAKE2b-256 |
c38eb166754189e3df70dfdfc41dbb163e14e3a13506f685ec8c924ef868cfbd
|