DoChat – a Dockerized WeChat PC Windows client for Linux

栏目: IT技术 · 发布时间: 4年前

内容简介:DoChat(盒装微信) is a Dockerized WeChat(微信) PC Windows Client for Linux.

DoChat /dɑɑˈtʃæt/ 盒装微信

DoChat(盒装微信) is a Dockerized WeChat(微信) PC Windows Client for Linux.

DoChat – a Dockerized WeChat PC Windows client for Linux

Image Credit: Docker 101 + Icon Finder , and Ps-ed by Ruoxin Song

Usage

WeChat PC will be started on your Linux desktop by running the following one-line command:

curl -sL https://raw.githubusercontent.com/huan/docker-wechat/master/dochat.sh | bash

Just copy/paste the above one-line command to your terminal and press Enter. Then the WeChat PC should appear in your XWindows desktop shortly.

DoChat – a Dockerized WeChat PC Windows client for Linux

Features

It just works out-of-the-box with one-line of shell command!

Ctrl+V

Requirements

sudo apt update && apt install docker.io

Environment Variables

DOCHAT_SKIP_UPDATE

If you do not want to update docker image at startup everytime, you can set DOCHAT_SKIP_UPDATE environment variable.

curl -sL https://raw.githubusercontent.com/huan/docker-wechat/master/dochat.sh \
  | DOCHAT_SKIP_UPDATE=true bash

In case you have downloaded dochat.sh :

DOCHAT_SKIP_UPDATE=true ./dochat.sh

DOCHAT_DEBUG

Show more debug log messages.

curl -sL https://raw.githubusercontent.com/huan/docker-wechat/master/dochat.sh \
  | DOCHAT_DEBUG=true bash

For Hackers

If you want to control everything by yourself, for example, open multiple WeChat PC client on your desktop; then, you might want to inspect the dochat.sh in our repository and try the following docker command:

docker run \
  --name DoChat \
  --rm \
  -i \
  \
  -v "$HOME/DoChat/WeChat Files/":'/home/user/WeChat Files/' \
  -v "$HOME/DoChat/Applcation Data":'/home/user/.wine/drive_c/users/user/Application Data/' \
  -v /tmp/.X11-unix:/tmp/.X11-unix \
  \
  -e DISPLAY="$DISPLAY" \
  \
  -e XMODIFIERS=@im=fcitx \
  -e GTK_IM_MODULE=fcitx \
  -e QT_IM_MODULE=fcitx \
  -e GID="$(id -g)" \
  -e UID="$(id -u)" \
  \
  --ipc=host \
  --privileged \
  \
  zixia/wechat

Modify it whatever you want to fulfill your needs.

Known Issues

  • In-WeChat Browser does not work ( #2 )

To-do List

  • Permanent Storage for WeChat PC Login Data Information ( #3 )
  • Automatically install WeChat PC from .EXE installer when building the Dockerfile. (Test Automation tools might be needed)
  • Monitor WeChat PC version publications so that we can publish the same version number of the docker image with it.

FAQ

1 System Tray Icon with Gnome Desktop

Install Gnome Extension: Top Icons Plus Git

Links

History

master

v0.4 (Feb 21, 2020)

Got a great logo from my art friend Ruoxin SONG.

  1. Fix Sound ( #1 )
  2. Fix to not exit during the upgrading progress.

v0.2 (Feb 18, 2020)

The first working version, cheers!

v0.1 (Feb 17, 2020)

Project created.

Thanks

  1. 基于深度操作系统的微信 docker 镜像 by @bestwu
  2. DoChat logo designed by my friend Ruoxin SONG.

Author

Huan LI ( 李卓桓 ) zixia@zixia.net

DoChat – a Dockerized WeChat PC Windows client for Linux

Copyright & License

  • Code & Docs © 2020-now Huan LI < zixia@zixia.net >
  • Code released under the Apache-2.0 License
  • Docs released under Creative Commons

以上就是本文的全部内容,希望对大家的学习有所帮助,也希望大家多多支持 码农网

查看所有标签

猜你喜欢:

本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们

第二次机器革命

第二次机器革命

[美]埃里克·布莱恩约弗森 / 蒋永军 / 中信出版社 / 2014-9 / 59.80

“一本非常鼓舞人心的书!”——托马斯•L•弗里德曼 《世界是平的》作者 一场革命开始了! 在《第二次机器革命》这本书中,埃里克•布莱恩约弗森和安德鲁•麦卡菲——这两位处于数字技术时代最前沿的思想家,向我们阐述了驱动我们经济和生活的发生变革的力量。他们认为,数字技术将会给我们带来难以想象的巨大变革:想象一下令人眩目的个人数字技术产品、一流的基础设施,都将会给我们带来极大的便利。数字技术(......一起来看看 《第二次机器革命》 这本书的介绍吧!

RGB转16进制工具
RGB转16进制工具

RGB HEX 互转工具

html转js在线工具
html转js在线工具

html转js在线工具

HEX CMYK 转换工具
HEX CMYK 转换工具

HEX CMYK 互转工具