File tree Expand file tree Collapse file tree 2 files changed +21
-8
lines changed Expand file tree Collapse file tree 2 files changed +21
-8
lines changed Original file line number Diff line number Diff line change 11# Spring-Mirai-Client
2- 可通过HTTP请求创建Mirai QQ机器人,处理登陆验证码、URL等信息
32
4- 本项目(client端)使用 Kotlin 编写(因为 Mirai 是 kotlin 的)
3+ 用于收发QQ消息,并通过 websocket + protobuf 上报给 server 进行处理。
54
6- server 端:可使用任意语言编写
5+ 本项目对应前端: https://github.com/protobufbot/spring-mirai-client-ui
76
8- 通信协议:https://github.com/lz1998/onebot/tree/master/v11/specs/idl
7+ server端可以使用任意语言编写, 通信协议:https://github.com/lz1998/onebot_idl
98
10- ## TODO
11- - 整合 onebot 协议,与远程服务器通过 http/websocket/rpc 方式进行通信
12- - 群/私聊 消息事件 -> protobuf/json
13- - 接受API调用,执行并返回结果
9+ Java/Kotlin用户推荐使用 [ spring-boot-starter] ( https://github.com/protobufbot/pbbot-spring-boot-starter )
1410
11+ 支持发送的消息:文字、表情、图片、闪照、atQQ、atAll
12+
13+ ## 使用说明
14+
15+ 下载release:https://github.com/ProtobufBot/Spring-Mirai-Client/releases
16+
17+ 解压后运行
18+ ``` bash
19+ java -jar spring-mirai-client-版本.jar
20+ ```
21+
22+ 浏览器打开 http://localhost:9000/
23+
24+ 创建机器人并处理下方验证码(图形验证码或设备锁)
25+
26+
27+ ![ 截图] ( https://github.com/lz1998/Spring-Mirai-Client/blob/master/screenshot/client.jpg?raw=true )
You can’t perform that action at this time.
0 commit comments