rgewe_api

Crates.iorgewe_api
lib.rsrgewe_api
version0.1.1
created_at2025-01-04 05:57:49.002554+00
updated_at2025-01-04 05:57:49.002554+00
descriptionA Rust API wrapper for GEWECHAT services
homepagehttps://github.com/momo402/rgewe-api
repositoryhttps://github.com/momo402/rgewe-api
max_upload_size
id1503687
size87,922
(momo402)

documentation

README

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

Commit count: 4

cargo fmt