Skip to content

A mad dark mode status page based on UptimeRobot

License

Notifications You must be signed in to change notification settings

Soneji/uptimerobot-dark-mode

 
 

Repository files navigation

UptimeRobot Page

Another status page based on UptimeRobot

Docker Build Status license

Requirements

  • Node.js >= 10
  • Uptime Robot API key
  • Docker and docker-compose (optional)

Deploy

wget https://raw.githubusercontent.com/overclockedllama/uptimerobot-dark-mode/master/docker-compose.yml
docker-compose up -d

Configure

There are two ways to configure:

The file loading order is default.yml < ${NODE_ENV}.yml < environment variables. It's recommend to set secrets (e.g. API key) via environment variables and something complex (e.g. array and object) via files.

Parser Usage

We use the parser to analyze groups name, monitors name and group index (optional) which included in your original monitor's name. Default Parser is %group/%name, there are 3 variables now:

  • %group
  • %name
  • %index

You can change the backslash / to any separator you like, as long as it won't used in your group & monitor name (and index). To put index into your parser, you will able to sort your group in page manually. Easily write index for each group once (also for all if you like), and leave the blank of the index for other monitors in the same group.

There is example: Group Name/Index/Monitor Name

%group/%index/%name

For this format, you should write index in original name at Uptimerobots Control Panel for each group once:

GroupA/1/MonitorA

And leave the blank of the index for other monitors in the same group.

GroupA//MonitorB

Packages

 
 
 

Languages

  • JavaScript 59.7%
  • CSS 23.8%
  • Pug 14.3%
  • Dockerfile 2.2%