{"id":15479306,"url":"https://github.com/niuhuan/mirai-bot","last_synced_at":"2025-10-14T08:05:24.162Z","repository":{"id":57705394,"uuid":"407049329","full_name":"niuhuan/mirai-bot","owner":"niuhuan","description":"一个基于MariFramework的QQ机器人, 可以玩农场小游戏。","archived":false,"fork":false,"pushed_at":"2022-07-06T07:14:29.000Z","size":653,"stargazers_count":23,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-14T08:03:25.544Z","etag":null,"topics":["bot","qq","qqbot"],"latest_commit_sha":null,"homepage":"","language":"Go","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/niuhuan.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}},"created_at":"2021-09-16T06:32:23.000Z","updated_at":"2025-09-08T23:48:33.000Z","dependencies_parsed_at":"2022-08-24T14:57:16.258Z","dependency_job_id":null,"html_url":"https://github.com/niuhuan/mirai-bot","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/niuhuan/mirai-bot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/niuhuan%2Fmirai-bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/niuhuan%2Fmirai-bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/niuhuan%2Fmirai-bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/niuhuan%2Fmirai-bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/niuhuan","download_url":"https://codeload.github.com/niuhuan/mirai-bot/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/niuhuan%2Fmirai-bot/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279018302,"owners_count":26086333,"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-10-14T02:00:06.444Z","response_time":60,"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":["bot","qq","qqbot"],"created_at":"2024-10-02T04:20:41.581Z","updated_at":"2025-10-14T08:05:24.147Z","avatar_url":"https://github.com/niuhuan.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"mirai-bot\n=====\n一个基于MiraiFramework的QQ机器人\n\nPS: 已经跟随MiraiGo升级到 go1.18\n\n\n# 设计思路\n\n[MiraiFramework](https://github.com/niuhuan/mirai-framework)\n\n所有的功能都是由插件完成, 事件发生时, 调度器对插件循环调用, 插件响应是否处理该事件, 直至有插件响应事件, 插件发生异常, 或插件轮训结束, 最后日志结果被记录, 事件响应周期结束。\n\n![img.png](images/invoke.png)\n\n# 运行须知\n\n1. 第一次运行 会生成 mirai.yml 和 device.json, 将机器人的账号和密码的MD5填入 mirai.yml 中.\n2. 本bot使用了redis和mongo, mongo和redis官网下载, 解压后可直接使用, 如果您没有条件下载, 可以删除database包以及需要数据库的plugins之后启动.\n\n- (OPTIONAL) 第一次登录 您可以安装安卓软件DeviceInfo, 参照内容修改device.json, 并将protocol改为2(安卓手表)/1(安卓手机)将绕过设备锁\n\n依赖关系\n- 圈子插件 : mongo / redis\n- 农场插件 : mongo / redis\n\n# 功能展示\n\n## 模版功能\n\n### 菜单\n\n![](images/plugin01.jpg)\n\n#### 农场\n\n![](images/plugin02.jpg)\n![](images/plugin03.jpg)\n![](images/plugin04.jpg)\n\n### 图库\n\n![](images/plugin05.jpg)\n\n### 群管\n\n![](images/plugin06.jpg)\n\n### 圈子\n\n签到, 打劫, 或者兑换成其他游戏的货币\n\n![](images/sig01.png)\n\n![](images/sig02.png)\n\n## 其他利用此模版实现的功能\n\n### 视频互动冒险\n\n![](images/ext01.jpg)\n\n### 定时通知或2019新冠疫情播报\n\n![](images/ext02.jpg)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fniuhuan%2Fmirai-bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fniuhuan%2Fmirai-bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fniuhuan%2Fmirai-bot/lists"}