This repo contains the code referenced in my blog post "Is home online?"
https://hambly.dev/is-home-online
-
Raspberry Pi cron command: rasperrypi.cron
-
Apache virtual host config: etc/apache2/sites-available/example.com.conf
-
Logrotate config: etc/logrotate.d/apache2
-
CGI script: cgi/report.cgi
-
HTML template: cgi/template.html
-
Javascript code: cgi/uptime.js