sspchecker (Service Status Page RSS Checker)

This library can check the status page of any service that supports the Statuspage like interface using RSS format (except Atom format).

Installation

npm i -D @cyberlight/sspchecker

# or

npm i @cyberlight/sspchecker

Usage

const { getPageStatusesStream, withDefaultSubscription } = require('@cyberlight/sspchecker');

withDefaultSubscription(getPageStatusesStream([ 'https://status.service.name/path/to.rss', ... ]));

or from command line:

ssprsschecker-cli --urls https://status.npmjs.org/history.rss https://status.glitch.com/history.rss

or

ssprsschecker-cli --urls ./rssUrls.json
  • where ./rssUrls.json is a file with content like this:
[
    "https://status.npmjs.org/history.rss",
    "https://status.gitlab.com/pages/5b36dc6502d06804c08349f7/rss",
    "https://status.glitch.com/history.rss"
]

Example of output

root@195e4786fcb0:/workspaces/service-status-page-rss-checker# sspchecker-cli --urls ./rssUrls.json 
[i] Check service page statuses: [
  'https://status.npmjs.org/history.rss',
  'https://status.gitlab.com/pages/5b36dc6502d06804c08349f7/rss',
  'https://status.glitch.com/history.rss'
]
No incidents found!
[i] status check completed

or

root@195e4786fcb0:/workspaces/service-status-page-rss-checker# sspchecker-cli --urls https://status.npmjs.org/history.rss https://status.glitch.com/history.rss
[i] Check service page statuses: [
  'https://status.npmjs.org/history.rss',
  'https://status.glitch.com/history.rss'
]
No incidents found!
[i] status check completed

Running tests

npm test

License

See the LICENSE file for license rights and limitations (MIT).