You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Once it's released, pip install telegram-archive gives you:
the telegram-archive command, with the same subcommands as the Docker image plus telegram-archive migrate to create or upgrade the schema;
a small Python API: from telegram_archive import Config, TelegramBackup, run_backup, then asyncio.run(run_backup(Config())).
It needs Python 3.14. Settings come from the same environment variables and .env file as the image, so set BACKUP_PATH and run telegram-archive migrate before anything else.
It will be on PyPI with the next release. If omniload needs anything more from the API, tell me here.
Activity
GeiserX commentedon Sep 28, 2026
Thanks @amotl, good call. #493 adds it.
Once it's released,
pip install telegram-archivegives you:telegram-archivecommand, with the same subcommands as the Docker image plustelegram-archive migrateto create or upgrade the schema;from telegram_archive import Config, TelegramBackup, run_backup, thenasyncio.run(run_backup(Config())).It needs Python 3.14. Settings come from the same environment variables and
.envfile as the image, so setBACKUP_PATHand runtelegram-archive migratebefore anything else.It will be on PyPI with the next release. If omniload needs anything more from the API, tell me here.
GeiserX commentedon Sep 28, 2026
Merged in #493. It ships with the next release, which will be the first one published to PyPI.
amotl commentedon Sep 28, 2026
That was fast. Thank you for the swift turnaround, Sergio!