Go-Wechaty-Bot 4U PROTOCOL
仅供学习使用,请勿用于非法用途!
〰️ 〰️ 「 Select Gateway 」
Info
Glossary
Gateway : puppet-wechat4u
Server: go-wechaty
Architecture
flowchart LR
Polyglot-->Python
Polyglot-->Go
Polyglot -->Rust
Python-->Grpc
Go-->Grpc
Rust-->Grpc
Grpc-->Gateway{Gateway}-->Wechat4U
Wechat4U-->微信
⇲ Use
Init (depend main.General)
-
Checkout branch
cd 4u
-
Generate Token
WECHATY_TOKEN:curl -s https://www.uuidgenerator.net/api/version4
WECHATY_PUPPET_SERVICE_TOKEN:"insecure_" + WECHATY_TOKEN
-
Modifying a Configuration File
@set WECHATY_TOKEN=5f3029c0-0f46-4436-bdc6-02efcbad3309
@set WECHATY_PUPPET_SERVICE_TOKEN=insecure_34bf8353-0874-4b29-851d-e8a2502fc747
@set WECHATY_PUPPET_SERVER_PORT=25000
Start Server
cd 4u && bash ./wechatyGateway.sh
cd server && go run main.go