From 3b7f98c081f303fad750280f752685e46728af77 Mon Sep 17 00:00:00 2001 From: LiangJun Date: Tue, 8 Aug 2017 09:13:22 +0000 Subject: [PATCH 1/4] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=BA=8C=E7=BB=B4?= =?UTF-8?q?=E7=A0=81=E4=B8=BAtty=E6=96=B9=E5=BC=8F=E8=BE=93=E5=87=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot.py b/bot.py index bd56c88..d3efe43 100644 --- a/bot.py +++ b/bot.py @@ -99,7 +99,7 @@ def handle_msg_all(self, msg): def main(): bot = TulingWXBot() bot.DEBUG = True - bot.conf['qr'] = 'png' + bot.conf['qr'] = 'tty' bot.run() From 8104ebef47cc2135d2a63773aea91ac65b1f23ad Mon Sep 17 00:00:00 2001 From: LiangJun Date: Tue, 8 Aug 2017 09:14:12 +0000 Subject: [PATCH 2/4] =?UTF-8?q?=E5=AE=B9=E5=99=A8=E5=8C=96=E7=9A=84?= =?UTF-8?q?=E8=81=8A=E5=A4=A9=E6=9C=BA=E5=99=A8=E4=BA=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..14c72d8 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,10 @@ +FROM python:2.7-alpine +ADD . /wxBot +WORKDIR /wxBot +RUN pip install requests +RUN pip install pyqrcode +RUN pip install pypng +RUN apk update && apk add zlib-dev && apk add jpeg-dev && apk add alpine-sdk +RUN pip install Pillow +CMD ["python", "bot.py"] + From f2b7e51dbf9ea14ae5376e75d31267539985b564 Mon Sep 17 00:00:00 2001 From: LiangJun Date: Tue, 8 Aug 2017 09:17:57 +0000 Subject: [PATCH 3/4] =?UTF-8?q?=E5=AE=9E=E7=8E=B0=E5=BE=AE=E4=BF=A1?= =?UTF-8?q?=E6=9C=BA=E5=99=A8=E4=BA=BA=E7=9A=84=E5=AE=B9=E5=99=A8=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index fb144de..68a3244 100644 --- a/README.md +++ b/README.md @@ -268,7 +268,7 @@ python test.py [Urinx/WeixinBot](https://github.com/Urinx/WeixinBot) 网页版微信API,包含终端版微信及微信机器人 [zixia/wechaty](https://github.com/zixia/wechaty) Wechaty is wechat for bot in Javascript(ES6). It's a Personal Account Robot Framework/Library. - +[autherlj/wxbot](https://hub.docker.com/r/autherlj/wxbot/)实现微信机器人的容器化 ## 7 基于Wxbot延伸的一些项目 [WxbotManage](https://coding.net/u/vivre/p/WxbotManage/git) 基于Wxbot的微信多开管理和Webapi系统 From 7980e5c7f5997bb7db7f72587f4d5ec44a0c1e15 Mon Sep 17 00:00:00 2001 From: autherlj <30717333+autherlj@users.noreply.github.com> Date: Tue, 8 Aug 2017 17:20:44 +0800 Subject: [PATCH 4/4] Update README.md --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 68a3244..d352222 100644 --- a/README.md +++ b/README.md @@ -268,6 +268,7 @@ python test.py [Urinx/WeixinBot](https://github.com/Urinx/WeixinBot) 网页版微信API,包含终端版微信及微信机器人 [zixia/wechaty](https://github.com/zixia/wechaty) Wechaty is wechat for bot in Javascript(ES6). It's a Personal Account Robot Framework/Library. + [autherlj/wxbot](https://hub.docker.com/r/autherlj/wxbot/)实现微信机器人的容器化 ## 7 基于Wxbot延伸的一些项目 [WxbotManage](https://coding.net/u/vivre/p/WxbotManage/git) 基于Wxbot的微信多开管理和Webapi系统