仅供学习使用,请勿用于非法用途!
Gateway : puppet-xp
Server: go-wechaty
flowchart LR
Polyglot-->Python
Polyglot-->Go
Polyglot -->Rust
Python-->Grpc
Go-->Grpc
Rust-->Grpc
Grpc-->Gateway{Gateway}-->xp
xp-->微信
-
Checkout branch
cd xp
-
Generate Token
# Generate Token WECHATY_TOKEN:curl -s https://www.uuidgenerator.net/api/version4 WECHATY_PUPPET_SERVICE_TOKEN:"insecure_" + WECHATY_TOKEN # WECHATY_TOKEN WECHATY_PUPPET_SERVICE_TOKEN 可同可不同
-
Modifying a Configuration File
# wechatyGateway.bat @set WECHATY_TOKEN=xxxxxxxxxxxxxxxxxx @set WECHATY_PUPPET_SERVICE_TOKEN=insecure_xxxxxxxxxxxxxxxxxx @set WECHATY_PUPPET_SERVER_PORT=25000
-
Install the Software (WeChat.exe Check Download)
# Must install on Powershell ( because env ) ## WeChatSetup-v3.3.0.115.exe npm --registry http://registry.npmmirror.com install -g windows-build-tools npm --registry http://registry.npmmirror.com install -g wechaty-puppet-xp
-
Optional operation
# Set Environment @chdir # Google: How to set the path and environment variables in Windows
cd xp && .\wechatyGateway.bat # Start puppet-xp Gateway
cd server && go run main.go # Start Server