tgcli

Community

Manage Telegram via pure Rust CLI

Authordgrr
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Teams and operators who need to script Telegram workflows cannot rely on heavy TDLib hybrids, so tgcli provides an authenticated CLI that handles sync, search, messaging, and metadata management without C/C++ dependencies.

Core Features & Use Cases

  • Pure Rust MTProto Engine: Authenticates via phone/code/2FA, stores sessions in a local sqlite session, and contacts Telegram through grammers without external binaries.
  • Incremental Sync + Search: Keeps libSQL/FTS5 stores updated, exposes multi-account stores, and lets you list/search chats or messages with optional markdown, JSON, or text formatting.
  • Daemon + Admin Tools: Runs real-time daemon mode, exports data, manages folders/members/polls, and supplies shell completions for automation-friendly outputs.

Quick Start

Authenticate with tgcli auth, sync your chats via tgcli sync, and send a message with tgcli send to confirm the setup works.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: tgcli
Download link: https://github.com/dgrr/tgcli/archive/main.zip#tgcli

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.