Skip to content

Latest commit

History

15 Commits

Folders and files

NameName
Last commit message
Last commit date

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

FlagRequiredTypeDescription
intervalIntegerInterval (in seconds) of how often to make requests.
endpointsStringPath to JSON file of endpoints to monitor.
iftttStringPath to IFTTT JSON file configuration (see below).
randomIntegerPercentage of randomness to apply to interval timing (default of 20%).

IFTTT parameters

FlagRequiredTypeDescription
keyStringMaker channel secret key.
eventNameStringMaker event name.
bodyKeyStringForm data JSON body key (value1, value2, value3).
timeoutIntegerMinimum 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

4 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages