/SiteWatch

Track / View a Website

Primary LanguageRuby

sitewatcher

ruby script to watch sites for changes and alert you via slack; meant to be run with unix crontabs

what

get a message in a slack channel alerting you of updates to a site

how

clone this repo and add a secrets.yml file to that dir containting something like

target: https://popesites.com/
slack_webhook: https://hooks.slack.com/services/foo/barbaz

where:

  • the target is the site you want to watch
  • the slack_webhook is the url to the slack incoming webhook that you set up
crontab -e

input something like:

*/1 * * * *  /bin/bash -lc 'ruby /root/to/this/script.rb'

where:

???

profit.