What problem does it solve?
Persist Telegram conversations locally to enable fast offline access, search, and analytics without always hitting the network.
Core Features & Use Cases
- Local-first sync: mirrors chats into a local SQLite database for offline querying.
- Rich queries: keyword search, multi-keyword filtering, today/recent/top_senders, and timeline statistics across chats.
- Easy login and configuration: interactive terminal login with session persistence and environment-variable based setup for headless runs.
- Use case: archive and analyze chat history from groups and channels, then surface insights like most active speakers or peak activity times.
Quick Start
Install dependencies, run the tg-hub client, perform the initial interactive login in the terminal, and then begin syncing chats or querying the local database.