{"id":13988614,"url":"https://github.com/TroJanzHEX/Auto-Filter-Bot-V2","last_synced_at":"2025-07-22T09:31:20.230Z","repository":{"id":41279791,"uuid":"345987232","full_name":"TroJanzHEX/Auto-Filter-Bot-V2","owner":"TroJanzHEX","description":null,"archived":false,"fork":false,"pushed_at":"2022-04-07T17:00:29.000Z","size":50,"stargazers_count":99,"open_issues_count":34,"forks_count":494,"subscribers_count":4,"default_branch":"main","last_synced_at":"2024-11-29T07:36:48.625Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/TroJanzHEX.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}},"created_at":"2021-03-09T11:45:00.000Z","updated_at":"2024-11-25T09:13:10.000Z","dependencies_parsed_at":"2022-07-14T11:30:45.159Z","dependency_job_id":null,"html_url":"https://github.com/TroJanzHEX/Auto-Filter-Bot-V2","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/TroJanzHEX/Auto-Filter-Bot-V2","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TroJanzHEX%2FAuto-Filter-Bot-V2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TroJanzHEX%2FAuto-Filter-Bot-V2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TroJanzHEX%2FAuto-Filter-Bot-V2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TroJanzHEX%2FAuto-Filter-Bot-V2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TroJanzHEX","download_url":"https://codeload.github.com/TroJanzHEX/Auto-Filter-Bot-V2/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TroJanzHEX%2FAuto-Filter-Bot-V2/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266465063,"owners_count":23933053,"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","status":"online","status_checked_at":"2025-07-22T02:00:09.085Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2024-08-09T13:01:16.100Z","updated_at":"2025-07-22T09:31:19.913Z","avatar_url":"https://github.com/TroJanzHEX.png","language":"Python","funding_links":[],"categories":["Python","OpenSource"],"sub_categories":["OpenSource Bots"],"readme":"# Auto Filter Bot V2\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://www.python.org\"\u003e\n    \u003cimg src=\"http://ForTheBadge.com/images/badges/made-with-python.svg\"\u003e\n\n  \u003c/a\u003e\n\u003c/p\u003e\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://github.com/TroJanzHEX/Auto-Filter-Bot-V2/stargazers\"\u003e\n    \u003cimg src=\"https://img.shields.io/github/stars/TroJanzHEX/Auto-Filter-Bot-V2?style=social\"\u003e\n\n  \u003c/a\u003e\n  \n  \u003ca href=\"https://github.com/TroJanzHEX/Auto-Filter-Bot-V2/fork\"\u003e\n    \u003cimg src=\"https://img.shields.io/github/forks/TroJanzHEX/Auto-Filter-Bot-V2?label=Fork\u0026style=social\"\u003e\n\n  \u003c/a\u003e  \n\u003c/p\u003e\n\n[![TroJanz](https://img.shields.io/badge/TroJanzHEX-Channel-orange?style=for-the-badge\u0026logo=telegram)](https://telegram.dog/TroJanzHEX)  \nㅤㅤㅤㅤㅤㅤㅤ  \n[![TroJanz](https://img.shields.io/badge/TroJanzHEX-Support-red?style=flat\u0026logo=telegram)](https://telegram.dog/TroJanzSupport)  [![TroJanz](https://img.shields.io/badge/TroJanzHEX-Website-red?style=flat\u0026logo=CodersRank)](https://TroJanzHEX.me)  \nㅤㅤㅤㅤㅤㅤㅤ  \n[![MIT license](https://img.shields.io/badge/License-MIT-blue?style=flat)](https://github.com/TroJanzHEX/Auto-Filter-Bot-V2/blob/main/LICENSE)  [![Open Source](https://badges.frapsoft.com/os/v2/open-source.svg?v=103)](https://github.com/TroJanzHEX/Auto-Filter-Bot-V2)\n\n\n\n\n\n#### You can call this as an Auto Filter Bot if you like :D\n#### This is Version 2 of [Auto Filter Bot](https://github.com/TroJanzHEX/Auto-Filter-Bot)\n#### Bot simply search for the files from provided channel according to given query and gives link to those files as buttons!\n\n## How to use the bot\n* Add bot to your group with admin rights.\n\n* Add bot to all channels which you want to link with all admin rights!\n\n## Bot Commands - Works in Group only\n\n(You need to be a Auth User in order to use these commands)\n\n* /add channelid  -  Links channel to your group.\nor\n* /add @channelusername - Links channel to your group.\n\n\u003ci\u003eNOTE : You can get your channel ID from @ChannelidHEXbot \u003c/i\u003e\n\n\n* /del channelid  -  Delinks channel from group\nor\n* /del @channelusername  -  Delinks channel from group\n\n\u003ci\u003eNOTE : You can get connected channel details by /filterstats \u003c/i\u003e\n\n\n* /delall  -  Removes all connected channels and filters from group!\n\n* /filterstats  -  Check connected channels and number of filters.\n\n## You can check the video tutorial on how to deploy\n\n[Click here to see tutorial video](https://youtu.be/zum9AUlOgtQ)\n\nThanks to [InfotelGroup](https://telegram.dog/InFoTelGroup) and [Erich Daniken](https://telegram.dog/ErichDaniken) for the video\n\n## Any bugs or errors or suggestions, report at [TroJanzSupport](https://telegram.dog/TroJanzSupport)\n\n\n## Installation\n\n### Deploy to Heroku\n[![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy?template=https://github.com/TroJanzHEX/Auto-Filter-Bot-V2)\n\n### Deploy in your vps\n```sh\ngit clone https://github.com/TroJanzHEX/Auto-Filter-Bot-V2\ncd Auto-Filter-Bot-V2\npip3 install -r requirements.txt\n# \u003cCreate config.py appropriately\u003e\npython3 main.py\n```\n\n## Configs\n\n* TG_BOT_TOKEN  - Get bot token from @BotFather\n\n* APP_ID        - From my.telegram.org (or @UseTGXBot)\n\n* API_HASH      - From my.telegram.org (or @UseTGXBot)\n\n* TG_USER_SESSION  - A pyrogram user session string. Generate by [clicking here](https://repl.it/@prgofficial/String-Gen)\n\n* AUTH_USERS  - ID of users that can use the bot commands. Get from [MissRose Bot](https://telegram.dog/MissRose_bot) by using /id command\n\n* DATABASE_URI  - Mongo Database URL from https://cloud.mongodb.com/\n\n* DATABASE_NAME  - Your database name from mongoDB. Default will be 'Cluster0'\n\n* DOC_SEARCH  - Should bot search for document files ( Give 'yes' or 'no' )\n\n* VID_SEARCH  - Should bot search for video files ( Give 'yes' or 'no' )\n\n* MUSIC_SEARCH  - Should bot search for music files ( Give 'yes' or 'no' )\n\n## Credits\n\n[![TroJanz](https://img.shields.io/badge/Pyrogram%20-%23F37626.svg?\u0026style=for-the-badge\u0026logo=telegram\u0026logoColor=white)](https://github.com/pyrogram/pyrogram)\n\nAnd as always, [SpEcHlDe](https://telegram.dog/SpEcHlDe)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FTroJanzHEX%2FAuto-Filter-Bot-V2","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FTroJanzHEX%2FAuto-Filter-Bot-V2","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FTroJanzHEX%2FAuto-Filter-Bot-V2/lists"}