Skip to content

基于Gewechat API微信机器人框架的Rust API封装

License

Notifications You must be signed in to change notification settings

momo402/rgewe-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rgewe API

Gewechat RESTFul API的 Rust 语言二次封装。附有较为完整的 API 文档。

拉取 Gewe 镜像

使用 docker compose

docker-compose up -d

或者单独拉取运行

docker pull docker build -t ghcr.io/momo402/rgewe:1.0
docker run -d --name rgewe --restart always -p 2531:2531 -p 2532:2532 ghcr.io/momo402/rgewe:1.0

测试

镜像测试

docker exec -it rgewe /bin/sh

进入容器后,查看gewe日志。

~ # cat gewe/api/gewe.log  | grep GeWe

最下面出现(♥◠‿◠)ノ゙ GeWe启动成功 ლ(´ڡლ)゙`即为成功。

API 测试

初始token 为空,配置在src/util/mod.rs中。

API 文档

原始的 Gewe API 文档,Rust 二次封装的 API 可直接通过 Rust Doc 查看,修复了Java API的一些typo。

LICNSE

Apache-2.0

About

基于Gewechat API微信机器人框架的Rust API封装

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages