Show HN: Tgcli – Telegram CLI in Pure Rust (No TDLib)
mrbeep Thursday, February 05, 2026I built a Telegram CLI that's pure Rust with zero C/C++ dependencies. No TDLib, no OpenSSL — just `cargo build` and you're done.
Features: - Incremental sync with checkpoints (fast subsequent syncs) - Full-text search via FTS5 (local) + global Telegram API search - Send messages, files, voice notes, stickers, polls - Manage chats, folders, contacts, reactions - Admin commands for groups (ban/kick/promote) - Human-readable tables or --json output
Particularly useful for LLM agents (OpenClaw, etc.) — there's a SKILL.md in the repo with all commands documented for AI consumption. Agents can sync, search, and send messages programmatically.
Install: brew tap dgrr/tgcli brew install tgcli
Or: cargo install tgcli
Summary
tgcli is a lightweight command-line interface for the Telegram messaging platform, allowing users to interact with Telegram bots and perform various actions such as sending messages, managing contacts, and more, all from the terminal.
1
0
Summary
github.com