tgcli

Solid

Telegram CLI for syncing, searching, sending messages, and managing chats. Pure Rust implementation with no TDLib dependency. Supports multi-account setups, local FTS5 search, media download, scheduled messages, and real-time daemon mode. Use for interacting with Telegram from the command line or in scripts.

Data & Documents 16 stars 4 forks Updated 2 months ago MIT

Install

View on GitHub

Quality Score: 72/100

Stars 20%
41
Recency 20%
75
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# tgcli – Telegram CLI Pure Rust Telegram client. No TDLib. Fast. Cross-platform. ## Quick Start ```bash tgcli auth # Authenticate (first time) tgcli sync # Incremental sync tgcli chats list --output markdown # List chats (markdown recommended) tgcli messages list --chat 987654321 --output markdown # List messages from chat tgcli send --to 123456789 --message "Hello there!" # Send message ``` ## Core Commands ### Sync Fetch updates from Telegram servers. Always incremental (skips duplicates). ```bash tgcli sync # Default (shows summary) tgcli sync -q # Quiet (no output) tgcli sync --full # Full sync (all messages) tgcli sync --download-media # Save media files tgcli sync --stream # JSONL streaming (for pipelines) ``` ### Chats Manage chats: list, search, archive, pin, mute, create groups, join, leave. ```bash tgcli chats list --output markdown # List (markdown recommended) tgcli chats list --limit 50 # Limit results tgcli chats search "DevTeam" # Search by name tgcli chats archive 987654321 # Archive specific chat tgcli chats pin 987654321 # Pin chat tgcli chats mute 987654321 # Mute notifications tgcli chats create --group "Project Alpha" --user 111222333 # Create group tgcli chats join https://t.me/joinchat/... # Join via invite link tgcli chats leave 9876543...

Details

Author
dgrr
Repository
dgrr/tgcli
Created
3 months ago
Last Updated
2 months ago
Language
Rust
License
MIT

Similar Skills

Semantically similar based on skill content — not just same category