{"id":16876909,"url":"https://github.com/soxoj/telegram-bot-dumper","last_synced_at":"2026-03-11T16:36:45.109Z","repository":{"id":45608809,"uuid":"189640323","full_name":"soxoj/telegram-bot-dumper","owner":"soxoj","description":"🔪 Dumper \u0026 ripper for Telegram bots by token","archived":false,"fork":false,"pushed_at":"2023-12-23T15:40:52.000Z","size":28,"stargazers_count":197,"open_issues_count":8,"forks_count":29,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-05-04T21:44:36.913Z","etag":null,"topics":["dumper","history","ripper","telegram-bot","telegram-bot-api"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/soxoj.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-05-31T18:27:17.000Z","updated_at":"2025-04-24T14:54:53.000Z","dependencies_parsed_at":"2023-01-30T19:16:12.741Z","dependency_job_id":"862ca73d-2b4b-43e2-a9c5-5568d02c36dc","html_url":"https://github.com/soxoj/telegram-bot-dumper","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/soxoj%2Ftelegram-bot-dumper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/soxoj%2Ftelegram-bot-dumper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/soxoj%2Ftelegram-bot-dumper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/soxoj%2Ftelegram-bot-dumper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/soxoj","download_url":"https://codeload.github.com/soxoj/telegram-bot-dumper/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253135901,"owners_count":21859708,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["dumper","history","ripper","telegram-bot","telegram-bot-api"],"created_at":"2024-10-13T15:40:53.743Z","updated_at":"2026-03-11T16:36:45.069Z","avatar_url":"https://github.com/soxoj.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# telegram-bot-dumper\n\nEasy dumping of all Telegram bot stuff.\n\n**Input**: only bot token.\n\n**Output**: bot name \u0026 info, all chats text history \u0026 media, bot's users info \u0026 photos.\n\n## Requirements\n\n- Python \u003e= 3.6\n- Telethon \u003e= 1.24.0\n- [Register Telegram application](https://core.telegram.org/api/obtaining_api_id) to get API_ID and API_HASH\n\n## Using\n\n```sh\npip install -r requirements.txt\n\nvi dumper.py # change API_ID and API_HASH and save\n\n./dumper.py --token 12345678:ABCe2rPVteUWZ7wLeCqCb3CH3ilUY_fLabc\n```\n\nAlso you can use `--tor` flag for Telegram blocking bypass.\n\n## Testing\n\nYou can ask me for bot testing token.\n\n```sh\nTEST_TOKEN=... python3 -m pytest bot_test.py\n```\n\n## Currently known issues\n\n1. Bot is exiting with not fully dumped history\n\nSome messages can be deleted by bot users. If you suppose that the history was not completely dumped, specify\ncycles count to skip empty messages (200 per cycle by default):\n\n```sh\n# check additionally 5*200 = 1000 messages\n\n./dumper.py --token 12345678:ABCe2rPVteUWZ7wLeCqCb3CH3ilUY_fLabc --lookahead 5\n```\n\n2. History was not dumped for chats\n\nI don't know the solution to this problem. :(\n\n\n## Token leaks\n\nDorks examples: [telepot.bot](https://github.com/search?q=telepot.bot\u0026type=Code)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsoxoj%2Ftelegram-bot-dumper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsoxoj%2Ftelegram-bot-dumper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsoxoj%2Ftelegram-bot-dumper/lists"}