{"id":13742575,"url":"https://github.com/FightingGuys/rabbit","last_synced_at":"2025-05-09T00:31:25.646Z","repository":{"id":141393163,"uuid":"288903514","full_name":"FightingGuys/rabbit","owner":"FightingGuys","description":"开黑啦机器人Java软件开发工具SDK","archived":true,"fork":false,"pushed_at":"2021-12-06T12:32:42.000Z","size":635,"stargazers_count":9,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-05-22T13:33:28.600Z","etag":null,"topics":["bot-api","chatbot-framework","java","kaiheila"],"latest_commit_sha":null,"homepage":"","language":"Java","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/FightingGuys.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":"2020-08-20T04:10:06.000Z","updated_at":"2024-08-03T05:01:15.213Z","dependencies_parsed_at":null,"dependency_job_id":"9e26cf28-a782-45fe-84e7-37abf52ab395","html_url":"https://github.com/FightingGuys/rabbit","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FightingGuys%2Frabbit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FightingGuys%2Frabbit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FightingGuys%2Frabbit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FightingGuys%2Frabbit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/FightingGuys","download_url":"https://codeload.github.com/FightingGuys/rabbit/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253170935,"owners_count":21865273,"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-api","chatbot-framework","java","kaiheila"],"created_at":"2024-08-03T05:00:33.745Z","updated_at":"2025-05-09T00:31:25.286Z","avatar_url":"https://github.com/FightingGuys.png","language":"Java","readme":"# Rabbit 开黑啦机器人运行库\n\n### 简介\n\nRabbit 并非单例机器人应用框架，所以你可以在同个进程可以开启多个机器人实例应用  \n**目前只能接收事件，暂无法使用 [开黑啦官方](https://github.com/kaiheila/) 所提供的API接口**\n\n[进入开黑啦讨论 - https://kaihei.co/O9A5AY](https://kaihei.co/O9A5AY)\n\n### 使用说明\n\nRabbit 当前为测试阶段，尚未进入 Release (项目未发布到Maven中央依赖库)\n\n本项目暂时使用 [Github Package](https://github.com/FightingGuys/rabbit/packages)\n\n- 引入到 Maven\n\n```xml\n\u003c!-- https://github.com/fightingguys/rabbit/packages --\u003e\n\u003cdependency\u003e\n    \u003cgroupId\u003ecn.fightingguys.kaiheila\u003c/groupId\u003e\n    \u003cartifactId\u003erabbit\u003c/artifactId\u003e\n    \u003cversion\u003e0.0.1\u003c/version\u003e\n\u003c/dependency\u003e\n```\n\n- 引入到 Gradle\n\n```groovy\nimplementation 'cn.fightingguys.kaiheila:rabbit:0.0.1'\n```\n\n- 开始编码\n\n```java\nString apiToken = \"\"; // 用户机器人 token，详细请查看 开黑啦开放平台\nRabbit rabbit = RabbitBuilder.builder()\n    .createDefault(apiToken) // 使用默认配置构建 Rabbit 实例\n    .build();   // 创建实例\nrabbit.addEventListener(new UserEventHandler()); // 添加事件处理器\nrabbit.login(); // 登录实例\n```\n\n[查看示例完整代码](sample/SimpleApplication/BotApplication.java)\n\n### 提出问题\n\n想了解当前项目更多介绍，可以查看本项目的 [Wiki](https://github.com/FightingGuys/rabbit/wiki)\n、[Gitee Wiki](https://gitee.com/FightingGuys/rabbit/wikis)  \n若遇到框架使用疑惑，可以先查看 [Wiki](https://github.com/FightingGuys/rabbit/wiki)\n、[Gitee Wiki](https://gitee.com/FightingGuys/rabbit/wikis)   \n若遇到出现致命问题，可以向项目 [提交 Issue](https://github.com/FightingGuys/rabbit/issues)  \n若你想项目变得更好，可以协助项目开发，[查看项目计划](https://github.com/FightingGuys/rabbit/projects)\n\n### 为贡献项目\n\n**目前规则尚未完善，有意者请关注开黑啦群组内消息**  \n[进入开黑啦讨论 - https://kaihei.co/O9A5AY](https://kaihei.co/O9A5AY)\n\n### 关于镜像问题\n\nGitee 暂时仅做访问加速功能  \n若有其他疑问请提交到 Github\n\n#### 相关链接\n\n- [Github 主仓库](https://github.com/FightingGuys/rabbit)\n- [Gitee 镜像仓库](https://gitee.com/FightingGuys/rabbit)\n- [Github Wiki](https://github.com/FightingGuys/rabbit/wiki)\n- [Gitee 镜像Wiki](https://gitee.com/FightingGuys/rabbit/wikis)\n- [开黑啦讨论群组](https://kaihei.co/O9A5AY)","funding_links":[],"categories":["SDK"],"sub_categories":["官方服务器"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FFightingGuys%2Frabbit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FFightingGuys%2Frabbit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FFightingGuys%2Frabbit/lists"}