{"id":13617374,"url":"https://github.com/HA-Bots/Auto-Filter-Bot","last_synced_at":"2025-04-14T06:33:39.413Z","repository":{"id":191771316,"uuid":"684958858","full_name":"HA-Bots/Auto-Filter-Bot","owner":"HA-Bots","description":"This is Telegram Auto Filter Bot repository and fully customizable","archived":false,"fork":false,"pushed_at":"2024-05-28T16:23:34.000Z","size":1070,"stargazers_count":72,"open_issues_count":1,"forks_count":245,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-05-29T02:04:22.826Z","etag":null,"topics":["auto-filter-bot","mongodb","pyrofork","pyrogram","python"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/HA-Bots.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":"2023-08-30T07:54:17.000Z","updated_at":"2024-05-30T06:01:52.003Z","dependencies_parsed_at":null,"dependency_job_id":"5d598be0-56a1-4d23-995d-a1d4362fa7bd","html_url":"https://github.com/HA-Bots/Auto-Filter-Bot","commit_stats":null,"previous_names":["hansakaanuhas-tg/autofilterbot-beta","sl-bots-tg/auto-filter-bot","ha-bots/auto-filter-bot"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HA-Bots%2FAuto-Filter-Bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HA-Bots%2FAuto-Filter-Bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HA-Bots%2FAuto-Filter-Bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HA-Bots%2FAuto-Filter-Bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/HA-Bots","download_url":"https://codeload.github.com/HA-Bots/Auto-Filter-Bot/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223621758,"owners_count":17174746,"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":["auto-filter-bot","mongodb","pyrofork","pyrogram","python"],"created_at":"2024-08-01T20:01:40.698Z","updated_at":"2025-04-14T06:33:39.396Z","avatar_url":"https://github.com/HA-Bots.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n  \n# \u003cimg src=\"https://user-images.githubusercontent.com/74038190/213844263-a8897a51-32f4-4b3b-b5c2-e1528b89f6f3.png\" width=\"50px\" /\u003e \u0026nbsp; 𝘼𝙪𝙩𝙤 𝙁𝙞𝙡𝙩𝙚𝙧 𝘽𝙤𝙩 \u0026nbsp; \u003cimg src=\"https://user-images.githubusercontent.com/74038190/213844263-a8897a51-32f4-4b3b-b5c2-e1528b89f6f3.png\" width=\"50px\" /\u003e\n\n\u003c/div\u003e\n\n\n## 𝐹𝑒𝑎𝑡𝑢𝑟𝑒𝑠\n- [x] 𝐼𝑀𝐷𝐵 𝑇𝑒𝑚𝑝𝑙𝑎𝑡𝑒 𝑆𝑒𝑡\n- [x] 𝑂𝑛𝑙𝑖𝑛𝑒 𝑠𝑡𝑟𝑒𝑎𝑚 𝑎𝑛𝑑 𝑑𝑜𝑤𝑛𝑙𝑜𝑎𝑑\n- [x] 𝑉𝑒𝑟𝑖𝑓𝑖𝑐𝑎𝑡𝑖𝑜𝑛 𝑚𝑒𝑡ℎ𝑜𝑑\n- [x] 𝐹𝑖𝑙𝑒 𝑐𝑎𝑝𝑡𝑖𝑜𝑛 𝑠𝑒𝑡\n- [x] 𝐼𝑛𝑑𝑒𝑥𝑒𝑠 𝐹𝑖𝑙𝑒𝑠 𝑎𝑏𝑜𝑣𝑒 4𝐺𝐵\n- [x] 𝑆𝑝𝑒𝑐𝑖𝑓𝑖𝑐 𝑓𝑖𝑙𝑒𝑠 𝐷𝑒𝑙𝑒𝑡𝑒 𝑀𝑜𝑑𝑒\n- [x] 𝑆𝑒𝑡𝑡𝑖𝑛𝑔𝑠 𝑀𝑒𝑛𝑢\n- [x] 𝑀𝑢𝑙𝑡𝑖𝑝𝑙𝑒 𝐹𝑜𝑟𝑐𝑒 𝑆𝑢𝑏𝑠𝑐𝑟𝑖𝑝𝑡𝑖𝑜𝑛\n- [x] 𝑊𝑒𝑙𝑐𝑜𝑚𝑒 𝑀𝑒𝑠𝑠𝑎𝑔𝑒 𝑆𝑒𝑡\n- [x] 𝑆ℎ𝑜𝑟𝑡𝑙𝑖𝑛𝑘 𝑠𝑢𝑝𝑝𝑜𝑟𝑡\n- [x] 𝐴𝑢𝑡𝑜𝑚𝑎𝑡𝑖𝑐 𝐹𝑖𝑙𝑒 𝐹𝑖𝑙𝑡𝑒𝑟𝑖𝑛𝑔\n- [x] 𝐹𝑖𝑙𝑒 𝑃𝑟𝑜𝑡𝑒𝑐𝑡\n- [x] 𝑈𝑠𝑒𝑟 𝐵𝑟𝑜𝑎𝑑𝑐𝑎𝑠𝑡\n- [x] 𝐺𝑟𝑜𝑢𝑝 𝐵𝑟𝑜𝑎𝑑𝑐𝑎𝑠𝑡\n- [x] 𝐼𝑛𝑙𝑖𝑛𝑒 𝑆𝑒𝑎𝑟𝑐ℎ\n- [x] 𝑅𝑎𝑛𝑑𝑜𝑚 𝑝𝑖𝑐𝑠\n- [x] 𝐵𝑜𝑡 𝑆𝑡𝑎𝑡𝑠\n- [x] 𝑆𝑝𝑒𝑙𝑙𝑖𝑛𝑔 𝐶ℎ𝑒𝑐𝑘 𝐹𝑒𝑎𝑡𝑢𝑟𝑒\n- [x] 𝐴𝑢𝑡𝑜 𝐷𝑒𝑙𝑒𝑡𝑒\n- [x] 𝐴𝑛𝑑 𝑀𝑜𝑟𝑒...\n- [x] Demo Bot - \u003ca href=https://t.me/HA_Auto_Filter_Test_Bot\u003eHere\u003c/a\u003e\n\n## 𝐶𝑜𝑚𝑚𝑎𝑛𝑑𝑠\n```\n• /start - to check bot alive or not.\n• /index_channels - to check how many index channel id added.\n• /stats - to get bot status.\n• /ping - view bot's ping (latency)\n• /gofile - upload file to gofile.io\n• /settings - to change group settings as your wish.\n• /set_template - to set custom imdb template.\n• /set_caption - to set custom bot files caption.\n• /set_shortlink - group admin can set custom shortlink.\n• /get_custom_settings - to get your group settings details.\n• /set_welcome - to set custom new joined users welcome message for group.\n• /delete - to delete files using query.\n• /delete_all - to delete all indexed file.\n• /broadcast - to send message to all bot users.\n• /grp_broadcast - to send message to all groups.\n• /pin_broadcast - to send message as pin to all bot users.\n• /pin_grp_broadcast - to send message as pin to all groups.\n• /restart - to restart bot.\n• /set_tutorial - to set custom tutorial link in result page button.\n• /id - to check group or channel id.\n• /leave - to leave your bot from particular group.\n• /unban_grp - to enable group.\n• /ban_grp - to disable group.\n• /ban_user - to ban a users from bot.\n• /unban_user - to unban a users from bot.\n• /users - to get all users details.\n• /chats - to get all groups.\n• /invite_link - to generate invite link.\n• /index - to index bot accessible channels.\n• /set_fsub - to set force subscribe channel.\n• /remove_fsub - to remove force subscribe channel.\n```\n\n## Variables\n### Required Variables\n* `BOT_TOKEN`: Create a bot using [@BotFather](https://telegram.dog/BotFather), and get the Telegram API token.\n* `API_ID`: Get this value from [telegram.org](https://my.telegram.org/apps)\n* `API_HASH`: Get this value from [telegram.org](https://my.telegram.org/apps)\n* `ADMINS`: ID of Admins. (Multiple admins can be used separated by space)\n* `DATABASE_URL`: MongoDB URL. Get this value from [MongoDB](https://www.mongodb.com). For more help watch this [video](https://youtu.be/1G1XwEOnxxo)\n* `LOG_CHANNEL` : A channel to log the activities of bot. add channel id and Make sure bot is an admin in the channel.\n* `SUPPORT_GROUP`: Add your support group id\n* `BIN_CHANNEL`: A channel to the stream and download feature, add channel id and make bot admin in channel.\n* `URL`: Add you deployed bot app link or vps IP address\n### Optional Variables\n* `AUTH_CHANNEL`: ID of force subscribe channels (Multiple channels can be used separated by space)\n* `INDEX_CHANNELS`: Username or ID of your files channels (Multiple channels can be used separated by space)\n* `LANGUAGES`: Language of your bot search (Multiple languages can be used separated by space)\n* Check [info.py](https://github.com/HA-Bots/Auto-Filter-Bot/blob/main/info.py) for more optional variables\n\n\n## Deploy\n\u003cdetails\u003e\u003csummary\u003eDeploy To Heroku\u003c/summary\u003e\n\n[![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://www.heroku.com/deploy)\n\n\u003c/details\u003e\n\n\u003cdetails\u003e\u003csummary\u003eDeploy To Koyeb\u003c/summary\u003e\n\n[![Deploy to Koyeb](https://www.koyeb.com/static/images/deploy/button.svg)](https://app.koyeb.com/deploy?type=git\u0026builder=dockerfile\u0026repository=https://github.com/HA-Bots/Auto-Filter-Bot)\n\n\u003c/details\u003e\n\n\u003cdetails\u003e\u003csummary\u003eDeploy To Render\u003c/summary\u003e\n\n[![Deploy to Render](https://render.com/images/deploy-to-render-button.svg)](https://render.com/deploy)\n\n\u003c/details\u003e\n\n\u003cdetails\u003e\u003csummary\u003eDeploy To VPS\u003c/summary\u003e\n\n1. Run the following command to ensure your system is up to date:\n```\nsudo apt update \u0026\u0026 sudo apt upgrade -y\n```\n2. If Docker is not already installed, install it using:\n```\nsudo apt install docker.io -y\n```\n3. Verify the installation:\n```\ndocker --version\n```\n4. Ensure Docker starts on boot and is running:\n```\nsudo systemctl enable docker\nsudo systemctl start docker\n```\n5. Clone this repository (also you can upload manually repo to your VPS):\n```\ngit clone https://github.com/HA-Bots/Auto-Filter-Bot\ncd Auto-Filter-Bot\n```\n6. Navigate to your bot directory and build the Docker image:\n```\nsudo docker build -t auto-filter-bot .\n```\n7. Once the image is built, start the container:\n```\nsudo docker run -d -p 80:80 --name Auto-Filter-Bot auto-filter-bot\n```\n8. Verify that the bot is running:\n```\nsudo docker ps\n```\n9. If the bot crashes or needs to restart:\n```\nsudo docker restart Auto-Filter-Bot\n```\n10. If something is not working, check logs:\n```\nsudo docker logs Auto-Filter-Bot\n```\n\n\u003c/details\u003e\n\n## Support\n* [![Support](https://img.shields.io/static/v1?label=Support\u0026message=Group\u0026color=critical)](https://t.me/HA_Bots_Support)\n* [![Updates](https://img.shields.io/static/v1?label=Updates\u0026message=Channel\u0026color=critical)](https://t.me/HA_Bots)\n\n## Credits \n* [![EvaMaria](https://img.shields.io/static/v1?label=EvaMaria\u0026message=Developers\u0026color=critical)](https://t.me/TeamEvamaria)\n* [![Hansaka](https://img.shields.io/static/v1?label=Hansaka\u0026message=TG\u0026color=critical)](https://t.me/Hansaka_Anuhas)\n\n## Thanks To\n* [Pyrogram](https://github.com/pyrogram/pyrogram) and [PyroFork](https://github.com/Mayuri-Chan/pyrofork) For Telegram MTProto API Framework\n* [Contributors](https://github.com/HA-Bots/Auto-Filter-Bot/graphs/contributors) For free helps\n* And to everyone who helped\n\n## Note\n* Importing this repo instead of forking is strictly prohibited, Kindly fork and edit as your wish. Must Give Credits for [developer(s)](https://t.me/HA_Bots)\n* If you find any bugs or errors, [report](https://t.me/HA_Bots_Support) it\n\n## Disclaimer\n[![GNU General Public License v3.0](https://www.gnu.org/graphics/gplv3-with-text-136x68.png)](https://www.gnu.org/licenses/agpl-3.0.en.html#header)  \n\n* Licensed under [GNU AGPL v3.0](https://github.com/HA-Bots/Auto-Filter-Bot/blob/main/LICENSE)\nSelling The Codes To Other People For Money Is *Strictly Prohibited*.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FHA-Bots%2FAuto-Filter-Bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FHA-Bots%2FAuto-Filter-Bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FHA-Bots%2FAuto-Filter-Bot/lists"}