{"id":20153243,"url":"https://github.com/nacbots/group-guardian","last_synced_at":"2025-04-09T21:32:59.996Z","repository":{"id":129369125,"uuid":"610078877","full_name":"NACBots/group-guardian","owner":"NACBots","description":"Group Guardian is a Telegram bot for admins to maintain a safe community. ","archived":false,"fork":false,"pushed_at":"2025-01-15T04:48:46.000Z","size":9,"stargazers_count":17,"open_issues_count":0,"forks_count":12,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-03-23T23:26:51.273Z","etag":null,"topics":["bot","nacbots","nsfw","nsfw-classifier","nsfw-recognition","slag","spam-classification","spam-detection","telegram","telegram-bot"],"latest_commit_sha":null,"homepage":"https://nacbots.in","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/NACBots.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-03-06T03:22:24.000Z","updated_at":"2025-03-20T22:54:12.000Z","dependencies_parsed_at":"2023-07-29T01:00:06.468Z","dependency_job_id":null,"html_url":"https://github.com/NACBots/group-guardian","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/NACBots%2Fgroup-guardian","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NACBots%2Fgroup-guardian/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NACBots%2Fgroup-guardian/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NACBots%2Fgroup-guardian/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NACBots","download_url":"https://codeload.github.com/NACBots/group-guardian/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248114927,"owners_count":21050142,"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","nacbots","nsfw","nsfw-classifier","nsfw-recognition","slag","spam-classification","spam-detection","telegram","telegram-bot"],"created_at":"2024-11-13T23:17:47.831Z","updated_at":"2025-04-09T21:32:59.972Z","avatar_url":"https://github.com/NACBots.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Group Guardian\r\n\u003cimg src=\"https://github.com/NACBots/Assets/blob/b5b62968409700d75ab061ca8c5960ca29fa4bd1/grpgdn.jpg\"\u003e\r\nGroup Guardian is an open source Telegram bot designed to help group administrators maintain a clean and safe environment for their communities. The bot offers two main functionalities:\r\n\r\n- **Word Slagging:** With the word slagging feature, the bot can detect and remove inappropriate language or spam messages in a group.You can define a list of banned words or phrases in [slang words file](slang_words.txt), and the bot will automatically delete any message containing them.\r\n\r\n- **Image Filtering:** The bot also includes an image filtering feature that can automatically detect and remove pornographic or NSFW images in a group and sent a censored version of the image. \r\n\r\n## Getting Started\r\n\r\nTo use Group Guardianship, simply add the bot to your Telegram group and promote to admin.If anyone sends a message containing offensive language or an NSFW image, the bot will automatically delete the message and send a censored version of it instead.\r\n\r\n\r\n## Required Configs\r\n - `BOT_TOKEN` - Get from [@BotFather](https://t.me/BotFather)\r\n - `API_ID` - Get it from [telegram.org](https://my.telegram.org/auth)\r\n - `API_HASH` - Get it from [telegram.org](https://my.telegram.org/auth)\r\n\r\n## Deploy 🚀\r\n\r\n### Easiest Heroku Deploy 🤭\r\n\r\n\u003cp align=\"center\"\u003e\r\n    \u003ca href=\"https://heroku.com/deploy?template=https://github.com/nacbots/group-guardian\"\u003e\r\n    \u003cimg src=\"https://github.com/nacbots/broadcastbot/blob/main/herokudeploy-01.svg\" alt=\"herokudeploy-01\" border=\"0\" height=\"90\" width=\"285\"\u003e\u003c/a\u003e\r\n\u003c/p\u003e\r\n\r\n### Host Locally 🤕\r\n\r\n1. Clone this repository to your local machine using:\r\n\r\n    ```\r\n    git clone https://github.com/nacbots/group-guardian\r\n    ```\r\n\r\n2. Install the required dependencies using pip:\r\n\r\n    ```\r\n    cd group-guardian\r\n    pip install -r requirements.txt\r\n    ```\r\n\r\n3. Create a new bot in Telegram and get your API token (you can follow the instructions [here](https://core.telegram.org/bots#creating-a-new-bot)).\r\n\r\n4. Configure the bot's settings by editing the `config.py` file. \r\n\r\n5. Start the bot by running:\r\n\r\n    ```\r\n    python3 main.py\r\n    ```\r\n\r\n6. Add the bot to your Telegram group and enjoy a clean and safe environment!\r\n\r\n## Support Group:\r\n\r\n\u003ca href=\"https://t.me/NACBots\"\u003e\u003cimg src=\"https://img.shields.io/badge/Telegram-Updates%20Channel-blue.svg?logo=telegram\"\u003e\u003c/a\u003e\u003ca href=\"https://t.me/n_a_c_bot_developers\"\u003e\u003cimg src=\"https://img.shields.io/badge/Telegram-Support%20Group-blue.svg?logo=telegram\"\u003e\u003c/a\u003e\r\n\r\n## Contributors\r\n\r\n - [@NikhilEashy](https://github.com/nikhileashy)\r\n\r\n - [@Muhsina-km](https://github.com/muhsina-km)\r\n\r\n\u003ca href=\"https://pyrogram.org\"\u003e\u003cimg src=\"https://i.ibb.co/SVLD5k8/Document-1222546317.png\" alt=\"pyrogram\" border=\"0\"\u003e\u003c/a\u003e\r\n\r\n## Contributing\r\n\r\nIf you find a bug or have a suggestion for a new feature, please open an issue on this repository or submit a pull request. We welcome contributions from the community!\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnacbots%2Fgroup-guardian","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnacbots%2Fgroup-guardian","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnacbots%2Fgroup-guardian/lists"}