If you want to display the status of your services on a simple modern page using UptimeRobot API, this code is made for you.
- Web server : you can use Apache2, but you must enable PHP and the CURL module.
- Main API Key of UptimeRobot. Available here : you can create an account, it's free.
Download and set these variables (in index.php file) :
Title of your page :
$title = "Foxtrot";
Page description :
$description = "[Github Project] Status Page of Foxtrot.";
Favicon link :
$favicon = "/img/favicon.png";
Main API Key of UptimeRobot :
$api = "xxxx";
If you have any problems, don't hesitate to open an issue.