Wechaty
Conversational RPA SDK for Chatbot Makers. Join our Discord: https://discord.gg/7q8NBZbQzt
Install / Use
/learn @wechaty/WechatyREADME
Wechaty

<!--
[](https://wechaty.js.org/docs/puppet-providers/tiktok)
[](https://wechaty.js.org/docs/puppet-providers/line)
[](https://wechaty.js.org/docs/puppet-providers/telegram)
[](https://gitter.im/wechaty/wechaty?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge)
[](https://gitter.im/wechaty/wechaty?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge)
[](https://t.me/wechaty)
-->
Elevator Pitch
Wechaty is a conversational RPA SDK that simplifies the process of building chatbots. It's like a Swiss Army knife for chatbot development, providing a universal interface to various messaging platforms such as WhatsApp, WeChat, and more. With Wechaty, you write your bot code once, and it runs on any of the supported platforms. This means you can focus on creating engaging conversational experiences without worrying about the underlying complexities of each platform's API. It's open-source, easy to use, and backed by a vibrant community that's ready to help you bring your chatbot ideas to life.
Connecting Chatbots
Wechaty is an RPA (Robotic Process Automation) SDK for Chatbot Makers which can help you create a bot in 6 lines of JavaScript, Python, Go, and Java, with cross-platform support including Linux, Windows, MacOS, and Docker.
:spider_web: https://wechaty.js.org
:octocat: https://github.com/Wechaty/wechaty
:beetle: https://github.com/Wechaty/wechaty/issues
:book: https://github.com/Wechaty/wechaty-getting-started
:whale: https://hub.docker.com/r/wechaty/wechaty
Breaking News
Voice of Developers
"Wechaty is a great solution; I believe there would be much more users who recognize it." link
— <cite>@Gcaufy, Tencent Engineer, Author of WePY</cite>"太好用,好用的想哭"
— <cite>@xinbenlv, Google Engineer, Founder of HaoShiYou.org</cite>”好用到哭“——你们对得起这个评价! link
— <cite>@bigbrother666sh, creator of《社长不见了》剧本杀 NPC DM</cite>"最好的微信开发库" link
— <cite>@Jarvis, Baidu Engineer</cite>"Wechaty让运营人员更多的时间思考如何进行活动策划、留存用户,商业变现" link
— <cite>@lijiarui, Founder & CEO of Juzi.BOT.</cite>"If you know js ... try Wechaty. It's easy to use."
— <cite>@Urinx Uri Lee, Author of WeixinBot(Python)</cite>"Wechaty is a good project; I hope it can continue! Therefore, I became a contributor in open collective."
— <cite>@Simple</cite>
See more at Wiki:Voice Of Developer
Join Us on Discord
Wechaty is used in many ChatBot projects by thousands of developers. To talk with other developers, scan the QR Code below and join our Wechaty Developer Community.
Scan now because other Wechaty developers want to talk with you, too!
Resource
Wechaty has already held lots of talks and got a lot of blogs in the past years; here are all of the wechaty resources:
- :video_camera: Youtube Playlist: Watch all of the talk videos related with Wechaty
- :page_with_curl: Full Docs
- :bulb: Blog: See how developers use wechaty to build fantastic projects!
- :beginner: Wechaty-Getting-Started:Wechaty Starter Project Template that Works Out-of-the-Box
- :tada: Wechaty Contributor List: Thanks for their contribution!
- :gift: Juzibot Support Wechaty: Know everything about Wechaty
:rocket: The World's Shortest ChatBot Code: 6 lines of JavaScript
import { WechatyBuilder } from 'wechaty'
const wechaty = WechatyBuilder.build() // get a Wechaty instance
wechaty
.on('scan', (qrcode, status) => console.log(`Scan QR Code to login: ${status}\nhttps://wechaty.js.org/qrcode/${encodeURIComponent(qrcode)}`))
.on('login', user => console.log(`User ${user} logged in`))
.on('message', message => console.log(`Message: ${message}`))
wechaty.start()
Notice: Wechaty requires Node.js version >= 16
This bot can log all messages to the console after login by the scan.
You can find Wechaty's Official Examples at examples/ding-dong-bot.ts and more from our Example Directory.
:checkered_flag: Requirements
- Node.js version 16+
- NPM version 7+
- TypeScript version 4.4+
Getting Started
- Wechaty Starter Repository - https://github.com/wechaty/wechaty-getting-started
We have a Wechaty starter repository for beginners with the simplest setting. It will be work out-of-the-box after you clone & npm install & npm start.
If you are new to Wechaty and want to try it the first time, we'd like to strong recommend you starting from this repository, and using it as your starter template for your project.
Otherwise, please saved the above The World's Shortest ChatBot Code: 6 lines of JavaScript example to a file named bot.js before you can use either NPM or Docker to run it.
1. Npm
[](https://www.npmjs.com/package/w
Related Skills
openhue
338.7kControl Philips Hue lights and scenes via the OpenHue CLI.
sag
338.7kElevenLabs text-to-speech with mac-style say UX.
weather
338.7kGet current weather and forecasts via wttr.in or Open-Meteo
tweakcc
1.5kCustomize Claude Code's system prompts, create custom toolsets, input pattern highlighters, themes/thinking verbs/spinners, customize input box & user message styling, support AGENTS.md, unlock private/unreleased features, and much more. Supports both native/npm installs on all platforms.
