Skip to content

A auto reply robot for WeChat Account 微信公众号自动应答机器人

License

Notifications You must be signed in to change notification settings

jenkins-zh/wechat-backend

Repository files navigation

Docker Pulls HitCount

WeChat Backend

As a robot, I can take care of some simple works for you.

Features

  • Welcome new members
  • Auto Replay as Code
  • Update backend configuration via WebHook (GitHub)

Auto-reply

This robot will auto replay by configured files. You should put those config files into a fixed directory: /management/auto-reply. It will reply a fixed sentence if there's no matched word. But you can give it a config file which contains the keyword unknown.

The structure of the config file like blew:

keyword: join
msgType: text
content: There is the sentence which will be replyed

See some examples from here.

Docker

One simple command could bring the WeChat backend up:

docker run -t -p 12345:8080 -v /var/wechat/config:/config jenkinszh/wechat-backend:v0.0.1

Sample config.yaml:

token: wechat-token
git_url: https://github.com/jenkins-zh/wechat
git_branch: master
github_webhook_secret: github-secret
appID: wechat-appid
appSecret: wechat-appsecret
server_port: 8080

About

A auto reply robot for WeChat Account 微信公众号自动应答机器人

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published