- wechaty github
- Python Wechaty
- 教你用python-wecahty和web协议开发机器人
- python-wechaty github
- python-wechaty document
-
下拉docker镜像
docker pull wechaty/wechaty:latest
-
启动docker镜像
export WECHATY_PUPPET_SERVER_PORT="8080" export WECHATY_TOKEN="python-wechaty-uos-token" docker run -ti \ --name wechaty_puppet_service_token_gateway \ --rm \ -e WECHATY_PUPPET_SERVER_PORT \ -e WECHATY_TOKEN \ -p "$WECHATY_PUPPET_SERVER_PORT:$WECHATY_PUPPET_SERVER_PORT" \ wechaty/wechaty:latest bash
-
docker镜像内启动wechaty
wechaty gateway --token python-wechaty-uos-token --port 8080 --puppet wechaty-puppet-wechat4u
- 复制二维码照片扫码登录
-
安装wechaty库
pip3 install wechaty
-
执行python代码联动