Node.js v10 or above
Build Tools for your Platform
If you have not installed Node.js(or version is below 10),You need to install the latest version of Node.js first by following the links below:
Instal Node.js for other platforms can be found at https://nodejs.org/en/download/package-manager/
git clone https://github.com/Chatie/wechaty-getting-startedcd wechaty-getting-started
Notice: Wechaty requires Node.js version >= 10
npm start# Or use node to run bot directlynode examples/starter-bot.js
You are all set!
You can see the following result after running:
This demo will show all message on the bot.
Scan the following QR Code in WeChat with secret code wechaty, join our Wechaty Developers' Home. This group is only for developers.