Notifies via Email if a certain word is found on a website.
go build
Environment variables are used to configure the cronjob.
CONFIG_URL=file://example-configuration.json \
MAILGUN_DOMAIN=example.com \
MAILGUN_KEY=secret=key \
./alert
This project can be deployed on heroku and executed via the Heroku Scheduler on a free dyno.
heroku apps:create
heroku config:set CONFIG_URL=https://...
heroku addons:create scheduler:standard
heroku addons:open scheduler # add `bin/alert` to scheduler