Sign inSign up

lxh01/wxhelper-docker

By lxh01

•Updated about 2 years ago

使用wine运行Windows版微信并自动注入wxhelper

Image
3

2.7K

lxh01/wxhelper-docker repository overview

⁠自动注入wxhelper的微信PC版镜像

⁠注意事项

  1. 只支持x86架构
  2. 宿主机系统发行版限制Debian系
  3. VNC页面切记不要手贱关闭微信窗口,否则只能重启容器
  4. VNC页面字体乱码是正常的,不影响接口使用
  5. 3.9.10.27版本dll编译自开源项目,文档不齐全,可以自行对照dll源码开发自己的业务逻辑,地址: https://gitee.ltd/wechat/WeChatHelper⁠

⁠端口

  1. 5900端口,VNC服务的端口,需要用VNC Viewer之类的工具连接打开。
  2. 8080端口(tag带novnc的镜像专属),noVNC网页端口,可在浏览器打开。
  3. 19088端口,wxhelper接口

⁠使用方式

version: '3'

services:
  wechat:
    image: lxh01/wxhelper-docker:{tag} # 自行选择喜欢的tag
    container_name: wechat
    restart: unless-stopped
    # 关闭seccomp,在非debian系宿主机运行时需要取消掉下面这两行注释
    #security_opt:
    #  - seccomp:unconfined
    environment:
      - WINEDEBUG=fixme-all
      #- MESSAGE_URL=微信消息回调地址 # 只有3.9.9.34支持,因为这玩意儿用的DaenWxHook
    volumes:
      - ./data/wechat:/home/app/.wine/drive_c/users/app/Documents/WeChat\ Files # 映射微信缓存目录
    ports:
      - "5900:5900" # VNC接口,使用VNC Viewer连接之后可以扫码登录微信
      - "8080:8080" # noVNC端口,仅tag含有novnc才有这个
      - "19088:19088" # wxhelper的接口端口
    healthcheck:
      test: ["CMD", "curl", "-f", "http://localhost:19088/api/checkLogin"]
      interval: 60s
      timeout: 10s
      retries: 5

⁠鸣谢

wxhelper⁠

Tag summary

Content type

Image

Digest

sha256:151c8d3fd…

Size

2.5 GB

Last updated

about 2 years ago

docker pull lxh01/wxhelper-docker:3.9.10.27