Someone forgets to eat??
To solve this problem, I wrote a wechat robot to remind him to eat when he arrived.
Making the address
Method of use
git clone https://github.com/diaozxin007/remindEat
Copy the code
Modify ‘toName’ in config/default.json to the name of the note to be reminded.
cd remindEat
npm install
Copy the code
Wechatygit uses a headless browser and downloads Chromium from Google during installation. If you encounter a download failure error. You can try
export PUPPETEER_DOWNLOAD_HOST=https://storage.googleapis.com.cnpmjs.org
npm install
Copy the code
After compiling:
node remindEat.js
Copy the code
If the startup error on ubuntu without package, you can refer to the puppeteer/docs/troubleshooting. The md
The other person won’t forget to eat by then.
I hope everyone can eat on time. Thank you.
The original address