Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/nkalupahana/changedetector

Repeatedly scans a set of URLs for changes, and texts you when a change occurs!
https://github.com/nkalupahana/changedetector

Last synced: 5 days ago
JSON representation

Repeatedly scans a set of URLs for changes, and texts you when a change occurs!

Awesome Lists containing this project

README

        

# ChangeDetector

Are you waiting for a URL to come online? Or waiting for a website to update its information? Well, instead of just refereshing forever, this script can be installed in `cron` to text you when the URL changes with a copy of the old and new website!

## Requirements
* AWS IAM account with SNS write policy
* Pastebin account (for sending the website data)
* `node` (tested on > v8) and `npm`
* `cron` for scheduling the script run

## Setup
* `npm install` to get necessary packages
* Create `env.js` file with all the necessary data (based on `env.sample.js` file)
* Install the script into crontab with a line like this (checks every 5 minutes):

`*/5 * * * * /absolute/path/to/node /absolute/path/to/detect.js 2>&1 | tee -a /tmp/changedetector.log`