Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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!
- Host: GitHub
- URL: https://github.com/nkalupahana/changedetector
- Owner: nkalupahana
- License: gpl-3.0
- Created: 2020-05-14T23:35:11.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-12-29T01:51:43.000Z (almost 2 years ago)
- Last Synced: 2023-03-03T23:20:47.685Z (over 1 year ago)
- Language: JavaScript
- Size: 76.2 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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`