Introduction

What is wechaty

Wechaty is a Conversational SDK for Chatbot Makers. It can help you to create software to extend the functionality of the Wechat, writen in Node.js with TypeScript, Support all platforms including Linux, Windows, Darwin(OSX/Mac), and Docker.

You can use wechaty building a personal wechat chatbot in just 6 lines of JavaScript code!

More Powerful Feature as follows:

  • Manage Message: Automatic message reply

  • Room Management: room creating/inviting/kicking off

  • Friendship Management

  • Intelligent dialogue Management: Just several configuration can get a task-oriented bot.

  • ...

See more in Wechaty NPM Version Docker Pulls TypeScript Greenkeeper badge

Just learning about Wechaty?

  • First Period: Wechaty is based on web WeChat. All implement by web WeChat is fully open-source and free!

  • Second Period: There are a lot of limitations when using web WeChat. In order to make it more easy for chatbot developers, we provide Puppet to support third party to implement their WeChat implementations, see WeChat Protocal.

Take a look at our Wechaty 101 Talk which covers our core functionality, feature set and motivations behind the project.

Web WeChat Limitations

  1. WeChat Account that registered after 2017 mignt not be able to login Web Wechat, so it can not use PuppetPuppeteer with Wechaty. Please make sure your WeChat Account can be able to login by visiting https://wx.qq.com

  2. Web API can not create room and invite members to room since 2018.

related issues:

If you want to break the above limitations, please consider to use a Wechaty Puppet other than using Web API, like wechaty-puppet-padplus.

Learn more about the Puppet at Wechaty wiki: Puppet

Curious how our technology works?

We recommend reading the writeup we did and checking out our Github repo.

Support Multi WeChat Protocols

The term Puppet in Wechaty is a name that we had picked up to describe part of our system: Puppet is an Abstract Class for implementing plugins, the plugins are the component that helps Wechaty to control the Wechat, that's the reason we call it puppet.

Plugins are named PuppetXXX, like PuppetPuppeteer is using the chrome puppeteer to control the WeChat Web API via a chrome browser, PuppetPadchat is using the WebSocket protocol to connect with a Protocol Server for controlling an iPad program. Here is the related information:

For a deeper understanding of the Puppet in Wechaty, you can read its source code if you like at https://github.com/Chatie/wechaty-puppet/blob/master/src/puppet.ts

All implement by web WeChat is fully open-source and free, if you need other implement, you should apply for it, see HOW to get token.

Here is the whole image for wechaty puppet introduction:

Join Us

Scan the following QRCode, reply ''wechaty" to join Wechaty Developers' Home.

Please read the doc before you ask question in the group. We don't welcome any discussion unrelated to wechaty, or you should give a red pocket(more than 100 RMB) in the group.

Last updated