{"id":19437751,"url":"https://github.com/renovamen/antifood","last_synced_at":"2026-06-13T03:31:37.391Z","repository":{"id":101152171,"uuid":"233236102","full_name":"Renovamen/AntiFood","owner":"Renovamen","description":"深夜放毒反击系统（基于酷 Q 和 NoneBot）","archived":false,"fork":false,"pushed_at":"2020-01-11T13:28:58.000Z","size":3,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-11-19T03:04:20.125Z","etag":null,"topics":["coolq","nonebot"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Renovamen.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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-01-11T13:28:45.000Z","updated_at":"2025-02-22T12:41:26.000Z","dependencies_parsed_at":"2023-04-10T18:31:18.535Z","dependency_job_id":null,"html_url":"https://github.com/Renovamen/AntiFood","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Renovamen/AntiFood","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Renovamen%2FAntiFood","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Renovamen%2FAntiFood/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Renovamen%2FAntiFood/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Renovamen%2FAntiFood/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Renovamen","download_url":"https://codeload.github.com/Renovamen/AntiFood/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Renovamen%2FAntiFood/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34271500,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-13T02:00:06.617Z","response_time":62,"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":["coolq","nonebot"],"created_at":"2024-11-10T15:15:46.522Z","updated_at":"2026-06-13T03:31:37.374Z","avatar_url":"https://github.com/Renovamen.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AntiFood\n\n以暴制暴深夜放毒自动反击系统。\n\n基于 [NoneBot](https://github.com/richardchien/nonebot) 的 QQ 机器人，用[百度云图像识别 API](https://cloud.baidu.com/product/imagerecognition) 识别别人发的图是否为放毒（食物）图片，如果是的话就在百度上随便爬一张食物图片怼回去，让对方也感受一下饥饿。（...）\n\n\u0026nbsp;\n## Framework\n\n- [NoneBot](https://github.com/richardchien/nonebot) ([Docs](https://nonebot.cqp.moe/))\n\n- [CoolQ HTTP API](https://github.com/richardchien/coolq-http-api) ([Docs](https://cqhttp.cc/docs/4.13/#/))\n\n- [酷 Q](https://cqp.cc/)\n\n\u0026nbsp;\n## Config\n\n在 `config.py` 中配置以下内容：\n\n```python\n# coolq\nCOOLQ_IMAGE_PATH = 'your_coolq_path/data/image/' # coolq 文件路径\n\n# baidu image recognition api\n# 申请 API: https://cloud.baidu.com/product/imagerecognition\n# Docs: https://ai.baidu.com/ai-doc/IMAGERECOGNITION/vk3bcxiu2\n# 在下面填入 AppID、API Key 和 Secret Key\nappID = ''\napiKey = ''\nsecretKey = ''\n\n# baidu image\nkeyword = '美食' # 百度图片搜索关键词\nrandomTotol = 100 # 在前多少张图片中随机拉取\n```\n\n\u0026nbsp;\n\n## Usage\n\n```powershell\npython bot.py\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frenovamen%2Fantifood","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frenovamen%2Fantifood","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frenovamen%2Fantifood/lists"}