{"id":40989904,"url":"https://github.com/sattellite/tg-group-control-bot","last_synced_at":"2026-01-22T07:38:28.460Z","repository":{"id":44667691,"uuid":"283155241","full_name":"sattellite/tg-group-control-bot","owner":"sattellite","description":"Telegram bot for exclude bots from group chats","archived":false,"fork":false,"pushed_at":"2023-09-13T12:32:03.000Z","size":7236,"stargazers_count":0,"open_issues_count":5,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-06-21T12:54:47.446Z","etag":null,"topics":["telegram","telegram-bot"],"latest_commit_sha":null,"homepage":"","language":"Go","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/sattellite.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","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":"2020-07-28T08:50:48.000Z","updated_at":"2022-02-01T07:12:41.000Z","dependencies_parsed_at":"2024-06-21T11:45:26.952Z","dependency_job_id":"afbc17cf-d7f0-452e-8d6d-cd499c6f46c7","html_url":"https://github.com/sattellite/tg-group-control-bot","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sattellite/tg-group-control-bot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sattellite%2Ftg-group-control-bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sattellite%2Ftg-group-control-bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sattellite%2Ftg-group-control-bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sattellite%2Ftg-group-control-bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sattellite","download_url":"https://codeload.github.com/sattellite/tg-group-control-bot/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sattellite%2Ftg-group-control-bot/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28658107,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-22T01:17:37.254Z","status":"online","status_checked_at":"2026-01-22T02:00:07.137Z","response_time":144,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","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":["telegram","telegram-bot"],"created_at":"2026-01-22T07:38:27.630Z","updated_at":"2026-01-22T07:38:28.448Z","avatar_url":"https://github.com/sattellite.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Chat control bot for telegram\n\nBot helps protect your telegram group chat from simple bots. Bot prohibits a new user\nfrom write messages and read history until the user confirms that they are not a\nbot.\n\nIt sends a message to group chat to confirm that the user is not a bot. The user\nwill be removed from group chat if they does not confirm that they is not a bot\nwithin 24 hours.\n\nA confirmation message will also be deleted from group chat if it was\nsuccessfully confirmed or after user was deleted by inactivity.\n\n## Installation\n\nGet a [bot token](https://core.telegram.org/bots) by chatting with\n[BotFather](https://core.telegram.org/bots#6-botfather).\n\nAnd you need to have MongoDB to store chat and some users data.\n\n### Manual\n\n1. `git clone https://github.com/sattellite/github.com/sattellite/tg-group-control-bot.git`\n2. `cd tg-group-control-bot`\n3. `go get -v -d ./...`\n4. `go build -o group-control-bot cmd/grcbot/main.go`\n5. `BOT_TOKEN=xxx MONGO_URL=\"mongodb://\u003cuser\u003e:\u003cpassword\u003e@\u003chost\u003e:\u003cport\u003e/chat_control\" ./group-control-bot`\n\n\u003e If you will copy binary file to other location then you need copy `locales` directory too.\n\n### Docker\n\n1. `git clone https://github.com/sattellite/github.com/sattellite/tg-group-control-bot.git`\n2. `cd tg-group-control-bot`\n3. Create `.env` file in root of project\n4. `docker-compose up -d --build`\n\n#### `.env` file for docker-compose\n\n```\ncat \u003e .env \u003c\u003cEOC\nBOT_TOKEN=123456:abcdef123456\nROOT_USER=mongo_admin_user\nROOT_PASS=mongo_admin_password\nBOT_USER=mongo_db_user\nBOT_PASS=mongo_db_password\nEOC\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsattellite%2Ftg-group-control-bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsattellite%2Ftg-group-control-bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsattellite%2Ftg-group-control-bot/lists"}