About Codex Gemini Telegram Bridge
Codex Gemini Telegram Bridge is an MCP server in the Blockchain category: telegram bridges for running Codex CLI and Gemini CLI from a single authorized chat.
Install
git clone https://github.com/0xkaz/codex-gemini-telegram-bridgeThis server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.
Ask AI
Ask AI about Codex Gemini Telegram Bridge
Powered by Claude · Grounded in docs
Security checks
- ✓README presentThe repository ships documentation.
5 checks have not been run yet.
README
codex-gemini-telegram-bridge
Telegram bridges for running local coding CLIs from a single authorized chat.
Why this exists
I got used to Claude Code Channels and then hit usage limits.
The real problem was not losing a model. It was losing the workflow: sending a coding task from my phone, waiting for the result, and continuing the same thread later without sitting in front of the terminal.
This is not a hosted service and not a generic agent platform. It is a small bridge for people who already work locally and want the async Telegram workflow back.
What it does
Each integration runs a local manager process that:
- polls Telegram Bot API
- accepts commands from one authorized chat
- runs the target CLI inside a configured repository
- sends output back to Telegram
Security model
This project is intentionally high-trust by default.
/runcan execute arbitrary commands whenallowAnyCommandis enabled- the sample Codex config uses
--dangerously-bypass-approvals-and-sandbox - the first Telegram chat may auto-register if
TELEGRAM_ALLOWED_CHAT_IDis not set
Do not expose this to untrusted chats. Review each integration's config before real use.
This is meant for personal use on a machine you control, not for multi-user or internet-exposed deployment.
Projects
codex-telegram-integration: controls a local Codex CLI session from Telegramgemini-telegram-integration_v2: controls a local Gemini CLI session from Telegram
Quick start
cd codex-telegram-integration
cp local.env.example local.env
# edit local.env and project.json
npm install
npm run start
Or:
cd gemini-telegram-integration_v2
cp local.env.example local.env
# edit local.env and project.json
npm install
npm run start
Example flow
Telegram:
fix the failing test in worker/auth.tsshow git diffcommit with message: fix auth test
Bridge:
- receives the message
- resumes or starts a local CLI session
- runs inside the configured repo
- sends the result back to Telegram
Example session
Telegram
fix the failing import in src/index.ts
show me the diff after
Bridge reply
Updated src/index.ts
- fixed import path for config loader
- ran tests: 12 passed
Diff summary:
- 1 file changed
- 3 insertions
- 1 deletion
Repository layout
.
├── codex-telegram-integration/
└── gemini-telegram-integration_v2/
Each integration contains its own:
src/: manager, worker, config, logging, and state helperslocal.env.example: bot token templateproject.json: per-project command and runtime configurationscripts/: convenience launch wrapper
Notes
local.env,state.json,.manager.pid,manager.log, andlogs/are gitignored- runtime logs store prompt and message lengths by default instead of raw text
- read each integration's README before publishing or deploying
README copy captured when this server was indexed; it may lag the repository. The original is authoritative.