Skip to content

Detect DOM changes across a supplied list of websites and send alerts via IFTTT.

Notifications You must be signed in to change notification settings

sblaurock/pingdiff

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pingdiff

Detect changes across a supplied list of websites.

Setup

npm install

Usage

node index.js --interval=60 --endpoints="/path/to/endpoints.json" --ifttt="/path/to/ifttt.json" --random

Endpoint file structure

{
    URL: CSS selector,
    "http://web.site": "body"
}

Flags

Flag Required Type Description
interval Integer Interval (in seconds) of how often to make requests.
endpoints String Path to JSON file of endpoints to monitor.
ifttt String Path to IFTTT JSON file configuration (see below).
random Integer Percentage of randomness to apply to interval timing (default of 20%).

IFTTT parameters

Flag Required Type Description
key String Maker channel secret key.
eventName String Maker event name.
bodyKey String Form data JSON body key (value1, value2, value3).
timeout Integer Minimum amount of time to wait (in seconds) between posted events.

About

Detect DOM changes across a supplied list of websites and send alerts via IFTTT.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published