{"id":20472626,"url":"https://github.com/the-earth/cat-big-bot","last_synced_at":"2025-07-06T23:32:51.838Z","repository":{"id":57821487,"uuid":"267829254","full_name":"The-Earth/Cat-big-bot","owner":"The-Earth","description":"Multi-functional Telegram Bot","archived":false,"fork":false,"pushed_at":"2025-02-06T04:29:14.000Z","size":218,"stargazers_count":5,"open_issues_count":2,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-13T11:13:10.099Z","etag":null,"topics":["catbot","telegram-bot"],"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/The-Earth.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,"zenodo":null}},"created_at":"2020-05-29T10:21:07.000Z","updated_at":"2025-02-06T04:29:17.000Z","dependencies_parsed_at":"2023-02-16T14:00:54.411Z","dependency_job_id":"55a08478-b98d-4f80-8853-8a376ff91c00","html_url":"https://github.com/The-Earth/Cat-big-bot","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/The-Earth/Cat-big-bot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/The-Earth%2FCat-big-bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/The-Earth%2FCat-big-bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/The-Earth%2FCat-big-bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/The-Earth%2FCat-big-bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/The-Earth","download_url":"https://codeload.github.com/The-Earth/Cat-big-bot/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/The-Earth%2FCat-big-bot/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263988767,"owners_count":23540258,"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":["catbot","telegram-bot"],"created_at":"2024-11-15T14:20:54.301Z","updated_at":"2025-07-06T23:32:51.803Z","avatar_url":"https://github.com/The-Earth.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Cat-big-bot\n[多功能 Telegram 机器人](https://t.me/CatBigBot)\n\n## 运行\n\n```bash\npython3 main.py\n```\n\n机器人依赖于 [catbot](https://github.com/The-Earth/catbot) 框架。\n\n`config_example.json` 是配置文件示例，将 `token`、`operator_id` 等配置修改好之后，把文件保存至 `config.json` 即可使用。\n\n## 用户权限\n\n* [用户权限](docs/user_right.md)\n\n## 投票\n\n* [使用投票](docs/poll.md)\n* [voter 用户](docs/voter.md)\n\n## trusted 用户\n\n* [trusted 用户](docs/trusted.md)\n\n## 群组备忘录\n\n* [mark 指令](docs/mark.md)\n\n## 与操作者对话\n\n* [私聊指令](docs/pm.md)\n\n## 中文维基百科新页面推送\n\n* [新页面推送](docs/new_pages.md)\n\n## 其他指令\n\n### /user_id\n\n查看他人或自己的 ID，使用方法：\n\n* 查看自己的 ID：直接发送 `/user_id`\n* 查看他人的 ID：回复被获取ID者发出的消息，内容为 `/user_id`\n\n### /chat_id\n\n查看当前聊天的 ID。当前聊天可以是:\n\n* 群组（得到群组 ID）\n* 私聊（得到自己的用户 ID）\n\n### /permalink\n\n在私聊中使用，尝试获得指向指定 ID 用户的链接。此链接不受 username 变化影响。格式：\n\n```\n/permalink \u003c用户ID\u003e\n```\n\n### /help\n\n在群组中或私聊中使用，显示帮助链接。在群组中使用时必须含有 `@CatBigBot` （或您机器人的 username）后缀。\n\n### 垃圾图片检测\n\n此功能使用预先训练好的模型检测聊天中出现的图片，对可能的垃圾图片在设定好的`chat_id`中报告。作为临时解决方案，使用[Telethon](https://github.com/LonamiWebs/Telethon)登入人类账号来获取图片。模型训练使用[Spam-Image-Detection](https://github.com/The-Earth/Spam-Image-Detection)项目。没有设计指令开关。\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthe-earth%2Fcat-big-bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthe-earth%2Fcat-big-bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthe-earth%2Fcat-big-bot/lists"}