stream-mailer

Send an email when a regex pattern appear in a stream

stream-mailer

Send an email when a regex pattern appear in a stream

npm install stream-mailer
cp config.example.js config.js

According to config.js, we will find all "hello kitty" strings in any logs files in .weechat folder and send email to kitty@gmail.com

tail .weechat/logs/* | node server.js
forever start -c sh bin/start-production.sh