mirror of
https://github.com/wechaty/getting-started.git
synced 2026-10-28 21:53:22 +08:00
20d00c51593a5f645a3b021a981bd4d93c0a9386
WECHATY-GETTING-STARTED
Wechaty is a Bot Framework for Wechat Personal Accounts which can help you create a bot in 6 lines of javascript by an easy to use API, with cross-platform support including Linux, Windows, Darwin(OSX/Mac) and Docker.
GETTING STARTED
Latest Update with Wechaty v0.17, Huan, July 2018.
1. Clone this Repository
git clone https://github.com/lijiarui/wechaty-getting-started.git
cd wechaty-getting-started
2. Install Dependencies
npm install
3. You are All Set
node examples/simplest-bot/bot.js
VIDEO TUTORIAL
Above is a 10 minute video tutorial(a little outdated, it's running under v0.14 or older versions of Wechaty), which is a good way to start if you are new to Wechaty.
Learn more about wechaty: Wechaty
MORE WECHATY EXAMPLES
Go to Official Wechaty Examples Directory
| File Name | Description |
|---|---|
| gist-bot/ | Decouple functions to different files |
| hot-reload-bot/ | Update code without restart program. @deprecated, see hot-import-bot instead |
| api-ai-bot.ts | Integrate with api.ai for Intents & Entities |
| contact-bot.ts | List All Contacts by Wechat ID & Name |
| ding-dong-bot.ts | Auto Reply Message |
| friend-bot.ts | Auto Accept Friend Request |
| media-file-bot.ts | Save Media Attachment in Message to Local File |
| room-bot.ts | Manage Chat Room |
| speech-to-text-bot.ts | Convert Voice Message to Text |
| tuling123-bot.ts | Answer Any Question |
| hot-import-bot | Use hot-import for updating code without restarting program |
| blessed-twins-bot/ | Multi-Instance Twins Bot Powered by Blessed |
| busy-bot.ts | Enter Auto Response Mode when you are BUSY |
LEARN MORE
Learn more about Wechaty from:
- API Document: https://github.com/Chatie/wechaty/wiki/API
- Chatie Blog: https://blog.chatie.io
:octocat: https://github.com/wechaty/wechaty
🪲 https://github.com/wechaty/wechaty/issues
📖 https://github.com/wechaty/wechaty/wiki
🐳 https://hub.docker.com/r/zixia/wechaty
Languages
JavaScript
87.4%
Makefile
12.6%
