wechaty/wechaty
حول
Conversational RPA SDK for Chatbot Makers. Join our Discord: https://discord.gg/7q8NBZbQzt
أدوات التطويرالنمو المقاس للنجوم
- خلال 24 ساعة
- +٢
- خلال 7 أيام
- +٢١
- خلال 15 يومًا
- +٤٩
- خلال شهر
- +١٤٩
تغيّر صافي النجوم خلال فترات متداخلة، وليس مجموعًا يوميًا. تبقى القياسات المفقودة فارغة. النجوم تقيس الاهتمام لا جودة البرمجيات.
README.md
الأصلWechaty

Wechaty is a conversational RPA SDK for chatbot makers. Write your bot once, and run it on WeChat, WhatsApp and other messaging platforms through interchangeable puppet providers.
This repository is the Wechaty monorepo. Each npm package lives in
packages/<npm-name>/ and has its own README.
Quick start
npm install wechaty
import { Wechaty } from 'wechaty'
const wechaty = new Wechaty()
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()
The wechaty package README covers installation,
Docker, puppet providers and the API. New to Wechaty? Start from the
getting-started template.
Packages
| Package | npm | Description |
|---|---|---|
wechaty |
The Wechaty SDK: the bot, its users (contacts, rooms, messages) and the puppet bridge | |
wechaty-grpc |
The gRPC protocol (.proto files) and its generated Node.js stubs, used between puppet services and their clients |
|
wechaty-puppet |
The abstract Puppet that every provider implements, with the shared payload types |
|
wechaty-puppet-mock |
A puppet with no IM behind it: an in-memory Mocker for tests and examples |
|
wechaty-puppet-service |
Puppets over gRPC: PuppetService calls a remote puppet, PuppetServer serves any puppet |
|
wechaty-token |
Puppet service tokens: discovery, the wechaty:// gRPC resolver and the wechaty-token CLI |
All the core libraries that wechaty builds on live here, and wechaty
uses them as workspace packages
(#3054).
Repository layout
packages/<npm-name>/ one npm package each: sources, tests, README
scripts/ repository tooling (Docker)
.github/workflows/ CI for every package, publishing, Docker
.github/coverage-baselines/ coverage floors per runtime and package
tsconfig.base.json compiler options shared by every package
Development
Wechaty needs Node.js 26 and npm 10 or newer. Install once at the root, then run the checks for every package:
npm ci
npm run lint
npm run test:unit
npm run test:unit:deno
npm run coverage:node
npm run coverage:deno
- CONTRIBUTING.md: how to contribute, and the Wechaty 2.0 design and pull request rules
- DEVELOPMENT.md: the workspace, tests, coverage and publishing in detail
- AGENTS.md: rules for AI coding agents
- Wechaty 2.0 roadmap
Community
- Documentation: https://wechaty.js.org
- Discord: https://discord.gg/7q8NBZbQzt
- Issues: https://github.com/wechaty/wechaty/issues
- Support the project: https://opencollective.com/wechaty
License
استكشف مشاريع مشابهة ومرتبطة
جارٍ التحميل…