Home

Awesome

Wechat-bot

<a href="https://github.com/cixingguangming55555/wechat-bot"> <img align="center" src="https://github-readme-stats.vercel.app/api/pin/?username=cixingguangming55555&repo=wechat-bot" /> </a> <a href="https://github.com/cixingguangming55555/wechat-bot"> <img align="center" src="https://github-readme-stats.vercel.app/api/top-langs/?username=cixingguangming55555&layout=compact" /> </a> <p align="center"> <img src="https://i.loli.net/2020/05/09/HXClIf5A2EpUG4u.png" width="120"> </p> <p align="center"> <a href="https://github.com/cixingguangming55555/wechat-bot/blob/master/LICENSE"> <img src="https://img.shields.io/github/license/cixingguangming55555/wechat-bot" alt="GitHub"> </a> <a href="https://github.com/cixingguangming55555/wechat-bot/releases"> <img src="https://img.shields.io/github/v/release/cixingguangming55555/wechat-bot?include_prereleases" alt="license"> </a> </p>

wechat tool

Notice

image image

wechat bot

Usage

server

start:run funtool or funtool -p port,default port is 5555

exit:CTRL + C

切记:不要在接收消息的时候退出

image

client

websocket:ws://127.0.0.1:5555/websocket 
http api(post):
      http://127.0.0.1:5555/api/get_contact
      http://127.0.0.1:5555/api/get_chatroom  (Get groups and group members, WeChat with too many groups will crash)
      http://127.0.0.1:5555/api/get_chatroom_v1 (Get group and group member index: idx)
      http://127.0.0.1:5555/api/get_member      (Obtain the wxid of group members based on the idx obtained from get_chatroom_v1, and http://127.0.0.1:5555/api/get_chatroom_v1 Paired use)
      http://127.0.0.1:5555/api/get_myself
      http://127.0.0.1:5555/api/send_txt(见http.js)
      http://127.0.0.1:5555/api/send_pic (见http.js)
      http://127.0.0.1:5555/api/get_nick (见http.js)
message type:
   886:anti revoke(not open)
   887:receive adn save image to path

ChangeLog

v0.0.93

v0.0.94