index

I built a Telegram relay for Claude Code

I like to create personal assistants for each of my projects. So what I usually do: spin up a new VM on exe.dev, login to Claude Code and GitHub, then make a simple base app to connect Telegram with Claude Code. After that, I iterate on top of that Telegram relay app to fit each project’s use cases.

For new readers, you might ask: why not OpenClaw? Because I hate how OpenClaw drains away my token.

I just want something simple and cost-effective. I think the official harness (Claude Code CLI or Codex CLI) is usually better than third-party harnesses for most cases. Personally I prefer Claude Code CLI, because the Claude model is better at writing, and the harness has a project-based auto-memory feature, something Codex CLI doesn’t have (idk why).

Heads up: this project is pretty barebones, it’s just a relay. The idea is that you build your own AI on top of it. For example, my gideonai bot is built on top of this relay and handles my personal use cases like social listening and news listening. Those might not be what you need in your own personal assistant, so the relay stays minimal on purpose.

Here’s the GitHub repo: github.com/terryds/claude-code-telegram.

Hope it’s helpful, enjoy tinkering with your AI!