FindSoftware

tg-archive

Tool that exports Telegram group chats into a static website archive, synced into a local SQLite database.

tg-archive is a tool that exports Telegram group chats into static websites, preserving chat history like mailing list archives. It uses the Telethon Telegram API client to sync a group’s messages into a local SQLite database, then builds a static archive website from a Jinja HTML template. The install step needs Telegram API credentials for a user account, not the Bot API.

Worth knowing

The README states that the author is no longer maintaining or developing the tool, and that small, clearly documented pull requests can still be reviewed and merged. The README suggests a cron job to sync messages and re-publish the archive periodically.

Identity

Status
Discontinued1
Maintainer
Kailash Nadh3
Maintained by
Individual
First release
20214

Rendering and deploy

Runs as
Static files, Scheduled1
Rendering
Static output1
Install with
pip1

Releases

Current major version
15
Last release
2026-01-264

Adoption

GitHub stars
1,1732
Contributors
226
Downloads a month
1917
Dependent repositories
17

Why these figures do not compare

Sources

  1. 2026-10-23: Status, Runtime, Templating, Install with, Rendering, Runs as, Databases
    github.com/knadh/tg-archive/blob/master/README.md
  2. 2026-10-23: links, Written in, License, GitHub stars
    api.github.com/repos/knadh/tg-archive
  3. 2026-10-23: Maintainer, License model
    github.com/knadh/tg-archive/blob/master/LICENSE
  4. 2026-10-23: First release, Last release
    pypi.org/pypi/tg-archive/json
  5. 2026-10-23: Current major version
    api.github.com/repos/knadh/tg-archive/releases
  6. 2026-10-23: Contributors
    api.github.com/repos/knadh/tg-archive/contributors
  7. 2026-10-25: Dependent repositories, Downloads a month
    packages.ecosyste.ms/api/v1/registries/pypi.org/packages/tg-archive

Last reviewed · Updated · Listed since Edit on GitHubThis page as markdownas JSON