Silly little WWW watchdog
Python Shell
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
LICENSE
README.mkd
config.json
diff.py
notifier.py
requirements.txt
runner.sh
setup.py

README.mkd

This is a silly little utility written from urgent need thereof. For some reason, I figured it would be faster to reinvent the wheel than to search for an existing, robust solution.

Requirements

  • Python 3

Installation

Written for and tested with Python 3.2 and later. Usage of virtualenv is advised for convenience.

$ pip install -r requirements.txt
$ python setup.py # Create the database

Usage

For regular updates, add @daily ~/sms/notifier.py to your crontab.

$ echo '@daily python3 $HOME/sms/notifier.py' | crontab

A separate execution script might be necessary if you're using virtualenv. See runner.hs for an example

@daily $HOME/sms/runner.sh

To-do list of features

  • diffs
  • proper error handling and recovery
  • proper logging
  • parallelism
  • templating (jinja2?)
  • aggregated mailing

Copyright

MIT-licensed.