WxRobot Document
WxRobot是一个面向个人账户的微信机器人框架,基于网页版微信通信协议编写。代码参考了Urinx 的WeixinBot,whtsky的WeRobot,0x5e的wechat-deleted-friends。
wxrobot内部运行逻辑如下:
+--------------+ +---------------+ +---------------+
| | | | | |
| Get UUID | | Get Contact | | Status Notify |
| | | | | |
+-------+------+ +-------^-------+ +-------^-------+
| | |
| +-------+ +--------+
| | |
+-------v------+ +-----+--+------+ +--------------+
| | | | | |
| Get QRCode | | Weixin Init +------> Sync Check <----+
| | | | | | |
+-------+------+ +-------^-------+ +-------+------+ |
| | | |
| | +-----------+
| | |
+-------v------+ +-------+--------+ +-------v-------+
| | Confirm Login | | | |
+------> Login +---------------> New Login Page | | Weixin Sync |
| | | | | | |
| +------+-------+ +----------------+ +---------------+
| |
|QRCode Scaned|
+-------------+
这是一个面向个人账户的微信机器人,如果你想用面向公众号的微信机器人,请移步:https://github.com/whtsky/WeRoBot。
有问题或者意见可以到Issues中提出。也欢迎开发者发起pull request。