Puppet Provider: Service
- Repo: https://github.com/wechaty/wechaty-puppet-service
- Support & Feedback: https://github.com/wechaty/wechaty-puppet-service/issues
Features
Wechaty Puppet Service is a Wechaty Puppet for providing/consuming gRPC Puppet API. 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.
For example, you can cloudify the Wechaty Puppet Provider wechaty-puppet-padlocal to a Wechaty Puppet Service by running our Wechaty Puppet Service Token Gateway.
Wechaty Puppet Service Token Gateway is a gateway for converting the Wechaty Puppet Provider to a Wechaty Puppet Service. Read more about tokens and usage in Introducing Wechaty Puppet Service (Providers).
Learn more about all puppet services provided by the Wechaty Community in puppet service overview.
Usage
Run wechaty-puppet-service
.
Wechaty Puppet Service need a token for authorization.
- Linux
- macOS
- Windows
npm install wechaty-puppet-service
export WECHATY_PUPPET=wechaty-puppet-service
export WECHATY_PUPPET_SERVICE_TOKEN=${TOKEN}
npm start
npm install wechaty-puppet-service
export WECHATY_PUPPET=wechaty-puppet-service
export WECHATY_PUPPET_SERVICE_TOKEN=${TOKEN}
npm start
npm install wechaty-puppet-service
set WECHATY_PUPPET=wechaty-puppet-service
set WECHATY_PUPPET_SERVICE_TOKEN=${TOKEN}
npm start
History
Troubleshooting
Error: 14 UNAVAILABLE: No connection established
This error message might identify that you are using a new version of wechaty-puppet-service
which requires SSL but your Wechaty Puppet Service token does not support SSL.
Try to set the WECHATY_PUPPET_SERVICE_NO_SSL_UNSAFE_CLIENT
environment variable to true
to disable SSL and try again.
WECHATY_PUPPET_SERVICE_NO_SSL_UNSAFE_CLIENT=true npm start
Learn more about the details from Enable SSL for all Puppet Service Clients of Wechaty Ecosystem wechaty/wechaty-puppet-servie#160