https://github.com/rench/wechat-bot
a simple wechat bot depends on wechaty
https://github.com/rench/wechat-bot
Last synced: 3 months ago
JSON representation
a simple wechat bot depends on wechaty
- Host: GitHub
- URL: https://github.com/rench/wechat-bot
- Owner: rench
- Created: 2020-03-05T09:03:15.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-12-10T20:32:38.000Z (over 3 years ago)
- Last Synced: 2025-03-19T16:09:03.150Z (over 1 year ago)
- Language: JavaScript
- Size: 385 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# wechat-bot
wechat bot with some [functions](#functions) depends on [wechaty](https://github.com/wechaty/wechaty)
## run with local node_modules
- `git clone https://github.com/rench/wechat-bot `
- `npm i`
- put your own padplus token in `./lib/config.js`
- `node index.js`
## run with docker
```
#?nix
export WECHATY_PUPPET=wechaty-puppet-padplus
#windows
set WECHATY_PUPPET wechaty-puppet-padplus
docker run -ti --rm --volume="$(pwd)":/bot -e WECHATY_PUPPET=wechaty-puppet-padplus zixia/wechaty index.js
```
## functions
- reply a daily word with keyword:`每日语句`
- reply a joke with keyword: `笑话`
- reply a weather with keyword: `成都天气`
- reply a random taobao item with keyword: `购物`
## next year plan
- Personal reminder
- Music search
- Movie search
- News read
## other link
- [wechaty](https://github.com/wechaty/wechaty)
- [wechaty-puppet-padplus](https://github.com/wechaty/wechaty-puppet-padplus)