Back to browse
GitHub Repository

Telegram bot for controlling a local Codex CLI session from an allowlisted chat.

3 starsC#

Local Telegram control app for Codex CLI

by mcaravey·May 6, 2026·1 point·1 comment

AI Analysis

●●SolidNiche GemShip It

Local Codex CLI control via Telegram without opening ports or hosting.

Strengths
  • Single-file binary requires no complex deployment or container orchestration.
  • Allowlist enforcement ensures only specific Telegram users can trigger commands.
  • Supports voice note transcription and multi-session management natively.
Weaknesses
  • Tied strictly to Codex CLI, limiting utility if users switch agents.
  • Relies on Telegram's infrastructure rather than self-hosted messaging protocols.
Target Audience

Developers using Codex CLI

Similar To

ShellBot · Telebot · Codex CLI

Post Description

For the last several months I've been looking for ways to try and control Codex. Sometimes I'm at my computer, sometimes I'm on the road, but I want it to be working while I'm away.

This latest iteration I finally made public this morning is Telegram over Codex. I'm often multitasking between various repositories, and with this Telegram wrapper, most of the major features that I use within Codex are available over the Telegram chats.

I'm able to have multiple sessions and threads running at the same time, transcribed audio messages, files, etc. I'm able to get constant updates live from Codex as it's doing the work.

Some notes that are very important, especially for this community: - This is a single file application. - It does not open any ports. - It runs on the same machine as your local Codex CLI installation. - You provide your own bot credentials, there is no hosted version at the moment.

Your instance of Codex on your machine is the only one that the bot will interact with. You have your own private chats with your own bot. The only external software here is Telegram itself.

As of today, I've run in the ballpark of 10,000 messages through Telegram across various projects. I've been noodling around with this app for a little while in various incarnations. This latest one with Telegram has been the most successful and enjoyable to use, which is why I have now made it publicly available. Enjoy.

Similar Projects