GithubHelp home page GithubHelp logo

codemonkeycxy / ask_xiaobing Goto Github PK

View Code? Open in Web Editor NEW
8.0 2.0 1.0 32.93 MB

WeChat bot powered by MS XiaoBing (小冰)

License: MIT License

Python 88.56% Shell 11.44%
itchat ms-xiaobing wechat wechat-bot bot

ask_xiaobing's Introduction

ask_xiaobing

WeChat bot powered by MS XiaoBing (小冰) via itchat

一个利用itchat接口制作的微信自动回复机器人

快速入门(非开发者):

  1. 微信关注小冰公众号
  2. 下载运行文件,打开并扫码:
  3. 小冰唤醒方式:在对话中输入下列任意 ["小冰", "小冰小冰", "小冰呢", "小冰呢?", "小冰回来", "小冰出来"]
  4. 小冰休眠方式:在对话中输入下列任意 ["小冰住嘴", "小冰闭嘴", "滚", "你滚", "你闭嘴", "下去吧", "小冰下去", "小冰退下"]

快速入门(开发者):

  1. 微信关注小冰公众号
  2. git clone https://github.com/codemonkeycxy/ask_xiaobing.git
  3. brew install python
  4. pip install virtualenv
  5. cd ask_xiaobing
  6. virtualenv env
  7. . ./env/bin/activate
  8. pip install itchat
  9. python ask_xiaobing.py

人机对话:

webp net-resizeimage 2

两只小冰左右互搏:

webp net-resizeimage 3

综合借鉴了下面这些资源:

  1. https://github.com/Lafree317/PythonChat/blob/master/chat.py (在此基础上增加了message queue,解决了多人同时和小冰聊天时串号的问题)
  2. https://zhuanlan.zhihu.com/p/30899907

已知问题:

  1. 本小冰目前还不能回传语音 (itchat api目前还不能支持)

ask_xiaobing's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

fenildf

ask_xiaobing's Issues

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.