Wechaty Puppet Services
For different instant messaging (IM) systems (such as WeChat, Whatsapp, and TikTok), the Wechaty community builds separate RPA modules for each, and we call those modules Wechaty Puppet.
Wechaty Puppet Service is gRPC for Wechaty Puppet. To use a Wechaty Puppet Service, you need a TOKEN for that service, and pass it to Wechaty, then you will be able to use that Puppet Service.
export WECHATY_PUPPET=wechaty-puppet-service
export WECHATY_PUPPET_SERVICE_TOKEN="${TOKEN}"
You can switch between different Wechaty Puppet Services by changing your TOKEN. All your source code should work between different tokens without any changes.
What is Wechaty Puppet Service?
With the power of Wechaty Puppet Service Token Gateway, any Wechaty Puppet Provider can be converted to Wechaty Puppet Service by yourself.
Here is why you may need a ready-to-use Wechaty Puppet Service :
- You are a Polyglot Wechaty developer, but you do not want to run another docker container in your system.
- You are a TpyeScript Wechaty developer, but the Wechaty Puppet Provider needs a complicated system setup, like an X11 System, Wine, or Android Emulator.
Another issue is that the Wechaty Puppet Provider is closed source, which means you will not be able to install it, but only can use it as a Wechaty Puppet Service.
Introducing Wechaty Puppet Service Provider
Our Wechaty Community now has serval Wechaty Puppet Services which works out-of-the-box. All you need is to get a Wechaty Puppet Service Token, then use wechaty-puppet-service with that token.
For now, the Wechaty community has four official Wechaty Puppet Services:
Name | Platform | Protocol | Life Cycle |
---|---|---|---|
WorkPro | WeCom | Windows | Beta |
WXWork | WeCom | Windows | Deprecated |
Paimon | Pad | Beta | |
PadLocal | Pad | Beta | |
Donut | Windows | Deprecated |
Introducing Wechaty Puppet Service
Useful Links
- Wechaty OSS Project and the Commercial Puppet Service Provider (CPSP)
- Wechaty Starter Project Template that works out-of-the-box
- How to create your own Wechaty Puppet Service Token with the Web Protocol