Giter Site home page Giter Site logo

micromsg-bot's Introduction

microMsg-bot

微信表情机器人

原理

  • 使用了 wxpy ,一个 Python 的微信机器人库
  • 表情利用了 doutula 的搜索接口
  • web 界面使用了 Flask,一个 Python的 HTTP 库
  • 浏览器端使用了 Socket.IO 来跟服务端通讯

使用方法

前往 bot.libivan.com,打开手机微信用摄像头扫描二维码登录。

登录后可以开启 [后缀发表情] 和 [被@回复表情] 两个功能。

后缀发表情

效果图:

效果图

效果图

被@回复表情

效果图:

效果图

效果图

加入斗图测试群

斗图群

挂机

网页版微信每次离线后,都要扫二维码才能重新登录,因此可以用服务器挂着账号来维持session。

在bot.libivan.com成功登录后打开chrome控制台可以看到如图所示的log: 图示

复制黄框内容,前往红线链接,在新打开的窗口控制台中粘贴进去执行,便可同时使用网页版微信和机器人。 图示

当网页版微信离线后只需要刷新页面或者重新执行代码便可脱离手机使用网页版微信。

部署

简易方式

docker run -p 80:80 qwivan/micromsg-bot

使用 docker volume

docker volume create mmbot
docker run -d --restart=always -p 80:80 -e KEY=YOUR_SECRET_KEY --name mmbot -v mmbot:/data qwivan/micromsg-bot

micromsg-bot's People

Contributors

qwivan avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.