News for hackers. Stuff that matters.
Re:Upptime – GitHub-powered open-source uptime monitor and s... by npmaile on Sunday December 27, 2020 @06:38PM (#25555184)
Why are there so many things these days about using some super complex cloud solution hack for something that can fundamentally be done easier and more efficiently from a cron job on a raspi zero on a home network.

curl yoursite.tld | some_script_that_parses_the_result and generates an uptime page > githubpagescontent.md; git commit -m $(get_the_current_time.sh); git push origin master

for $20, you can get the same thing with waaaay less stuff going on behind the scenes and without taking advantage of the ci resource for something it wasn't fundamentally meant for.

Re:Upptime – GitHub-powered open-source uptime monitor and s... by judge2020 on Sunday December 27, 2020 @08:01PM (#25555734)
Well, outside of when GH goes down, managing this in the cloud allows you to make more stuff 'serverless' - you don't have to worry about hardware failure and the maintenance burden that comes with moving stuff [data, code, secrets, logical volumes, etc] to a new host when you need to decommission the existing hardware. As long as you commit to the repo manually every few months (GH will stop crons on repos that have no commit activity), GH will continue to run your code on good hardware.
Re:Upptime – GitHub-powered open-source uptime monitor and s... by c16a on Sunday December 27, 2020 @08:24PM (#25555856)
The idea behind the "serverless" approach is a lightweight process which doesn't spend any measurable CPU / memory (at least for healthchecks). GitHub Actions is the opposite of that. After all, cloud is someone else's computer - in this case, several other projects can use this computer for something more important than health checks.
Re:Upptime – GitHub-powered open-source uptime monitor and s... by fny on Sunday December 27, 2020 @08:01PM (#25555730)
While I agree using Github is a bad idea for a status page, using any machine on a home network is an absolutely terrible idea.
Re:Upptime – GitHub-powered open-source uptime monitor and s... by putlake on Monday December 28, 2020 @12:14AM (#25556893)
What's the point of monitoring unless you can get paged about outages?
Re:Upptime – GitHub-powered open-source uptime monitor and s... by sitzkrieg on Sunday December 27, 2020 @07:25PM (#25555481)
not to mention when, not if, github goes down