{"id":21598466,"url":"https://github.com/aviksaikat/tanpachiro-bot","last_synced_at":"2025-05-05T22:22:07.840Z","repository":{"id":158994597,"uuid":"634357604","full_name":"Aviksaikat/Tanpachiro-bot","owner":"Aviksaikat","description":"Telegram file uploader bot","archived":false,"fork":false,"pushed_at":"2024-05-31T18:35:03.000Z","size":902,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-05-04T22:12:19.317Z","etag":null,"topics":["bot","python-bot","python3","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/Aviksaikat.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/funding.yml","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},"funding":{"github":["aviksaikat"],"buy_me_a_coffee":"aviksaikat","patreon":"CyberPuzzlePros","polar":"aviksaikat","custom":["https://www.paypal.me/aviksaikat007"]}},"created_at":"2023-04-29T21:20:56.000Z","updated_at":"2025-02-19T15:25:59.000Z","dependencies_parsed_at":null,"dependency_job_id":"596d85a2-207a-4963-9b2a-76745bff412b","html_url":"https://github.com/Aviksaikat/Tanpachiro-bot","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/Aviksaikat%2FTanpachiro-bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aviksaikat%2FTanpachiro-bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aviksaikat%2FTanpachiro-bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aviksaikat%2FTanpachiro-bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Aviksaikat","download_url":"https://codeload.github.com/Aviksaikat/Tanpachiro-bot/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252584583,"owners_count":21771986,"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":["bot","python-bot","python3","telegram-bot","telegram-bot-api"],"created_at":"2024-11-24T18:12:16.034Z","updated_at":"2025-05-05T22:22:07.823Z","avatar_url":"https://github.com/Aviksaikat.png","language":"Python","funding_links":["https://github.com/sponsors/aviksaikat","https://buymeacoffee.com/aviksaikat","https://patreon.com/CyberPuzzlePros","https://polar.sh/aviksaikat","https://www.paypal.me/aviksaikat007"],"categories":[],"sub_categories":[],"readme":"# Tanpachiro Bot 🤖🎥\n\n![](media/banner_tanpachiro.png)\n\n`Tanpachiro Bot` is a Telegram bot that can upload video files to a chat. It can also upload all the videos in a specified directory. With some slight modifications, you can make it upload as you want. With a [local bot API](https://github.com/tdlib/telegram-bot-api) server you can also make it support files upto 2GB in size.\n\n\n# Working Demo 💻📱\nhttps://user-images.githubusercontent.com/31238298/235325725-c2159cfe-399a-4139-9e5e-e40b2a9402f5.mp4\n\n\n# Getting Started 🚀\n1. Clone the repository.\n2. Install the required packages:\n```sh\ngit clone https://github.com/Aviksaikat/Tanpachiro-bot\ncd Tanpachiro-bot\npip install -r requirements.txt\n```\n\n3. Create a `config.toml` file in the root directory of the project and add your Telegram bot token:\n\n```toml\n[telegram]\nbot_token = \"YOUR_BOT_TOKEN\"\n```\n\n## Additional \n- Install [Telegram Bot API server](https://github.com/tdlib/telegram-bot-api) to increase the uplaod file size upto 2GB. Default is around `60 MB` which is useless. Check out the github page for instructions.\n\n\n4. Run the bot: \n```py\npython bot.py\n```\n\n# Commands 📝\n- **/start**: Start the bot and get a welcome message.\n- **/dir** \u003cdirectory_name\u003e: Upload all the video files in the specified directory.\n\n# Usage 🎬\n1. Send a video file to the bot to upload it to the chat.\n2. Use the `/dir` command followed by the directory name to upload all the video files in that directory.\n\n# Contributing 🤝\nContributions are welcome! If you'd like to contribute to the project, please follow these steps:\n\n1. Fork the repository.\n2. Create a new branch for your feature or bug fix: \n\n`git checkout -b new-branch-name`\n\n3. Make your changes and commit them: \n\n`git commit -m \"Description of your changes\"`\n\n4. Push your changes to your fork: \n\n`git push origin new-branch-name`\n\n5. Create a pull request.\n\n## TODO\n\n- [x] Recursively get all the video files\n- [ ] Add for uploading in groups \u0026 channels\n- [ ] Add more options\n\n\n# Issues 🐛\nIf you find any bugs or issues with the bot, please report them on the Issues page of the repository.\n\n# License 📜\nThis project is licensed under the MIT License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faviksaikat%2Ftanpachiro-bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faviksaikat%2Ftanpachiro-bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faviksaikat%2Ftanpachiro-bot/lists"}