Telebrief is used to turn content from your own Telegram channels and chats into a personal digest: it reads channel messages in any language, summarizes them using OpenAI, Anthropic, or a local Ollama model, and sends the digest daily through your own Telegram bot. Digests can be grouped by channel (default) or by AI-identified topics (such as news, events, sports), and are output as Markdown with emojis, bullet points, and clickable channel links; when exceeding Telegram's 4096-character limit, they are split into multiple messages. It supports private chats and channels, allows configuring the lookback window and AI instructions per channel, and supports digest languages including English, Russian (default), Spanish, German, and French.
Before use, you need Docker, an api_id and api_hash from my.telegram.org, a Telegram bot token, and an AI provider (OpenAI, Anthropic, or local Ollama). Run the installation wizard in an empty directory to complete login, select channels, and generate the configuration file, then press Start in the bot chat and start the service; send /digest to get a digest immediately.
By default, Telebrief does not save raw messages; after enabling storage, messages can be written to SQLite (default) or PostgreSQL for external tools to query. It can also provide digests through an optional MCP endpoint, allowing MCP clients such as Claude Code to obtain digests exactly matching those in Telegram without reading Telegram, and provides tools such as get_last_digest, get_channel_messages, and search_messages. The MCP server has no authentication and should only listen on 127.0.0.1; in Docker it should be published as 127.0.0.1:8765:8765.
Limitations: Telebrief is designed for a single user, a single Telegram account, and a single recipient; there is no hard upper limit on the number of channels, but each digest reads at most max_messages_per_channel messages per channel (default 500), and runtime and AI costs increase with active channels. Storage is append-only, and messages will be stored repeatedly when lookback windows overlap.