Skip to content

CLI to check the status of UptimeRobot monitored websites

Notifications You must be signed in to change notification settings

rosslh/uptime-checker

Repository files navigation

uptime-checker

This is a command line program to check the status of your UptimeRobot monitored websites.

It returns information on the website status, UptimeRobot configuration, duration up, uptime ratio, average response time, time since last outage, and duration of last outage.

It's built with React using the Ink renderer.

Example image

Example screenshot Warp terminal, Ayu Mirage theme, Cousine font

Install

$ npm install --global uptime-checker

CLI

$ uptime-checker --help

  Usage
    $ uptime-checker

  Options
    --token  Your UptimeRobot readonly access token

  Examples
    $ uptime-checker --token=xxxxxx

    ┌──────────────┐   Personal website         Up for:              17d     Last outage:
    │      Up      │   rosshill.ca              Uptime (1mo):    99.989%     Sep 24, 2024
    └──────────────┘   HTTP every 5m            Avg speed (1d):    144ms           1m 55s