Live data from Hacker News

Show HN: Built a self hosted clean status page and batteries

github.com

1–10 of 56 posts

Show HN: Built a self hosted clean status page and batteries

#1
Status pages have been the way they have seen the mid 2010s. There are few new ones but they are paid. So I decided to build this using svelte + sveltekit. It has all the necessary features. Few are yet to be built. Do check it out

Show HN: Built a self hosted clean status page and batteries
github.com

Re: Show HN: Built a self hosted clean status page and batteries

#3
This seems very nice and clean, I like it!

A tangent: This style of status page and the goal that most of these projects (like this) try to achieve is always displaying the uptime of a service based on some HTTP request. In how many cases is this actually the whole story? GitHub can serve perfectly fine HTTP content, it's still broken without git via ssh. Amazon can have their site up but if payments aren't being processed, that's worth nothing.

This is not a complaint against this specific project but am I the only one that feels that this style of status page that "has been around since the mid 2010s" rarely ever tells the full story of a service's health?

Re: Show HN: Built a self hosted clean status page and batteries

#7
post #3

This seems very nice and clean, I like it! A tangent: This style of status page and the goal that most of these projects (like this) try to achieve is always displaying the uptime of a service based on some HTTP request. In how many cases is this actually the whole story? GitHub can serve perfectly fine HTTP content, it's still broken without git via ssh. Amazon can have their site up but if payments aren't being pro…

Well of course, there can still be bugs in the code even if 200 is returned.

I always implement a /~/healthcheck route which will return the exit code of each check, but also encodes it in the HTTP STATUS. if any error is detected the status will be 500 if any warning is detected it will be 200+ of course checks still need to be written, e.g. a code needs to verify that it can connect to ssh and is greeded with the correct login msg.

still there could be problems for outcomming connections.

Re: Show HN: Built a self hosted clean status page and batteries

#9
I might be mistaken, but I always thought that status pages are supposed to be hosted by a third party.

Am I supposed to have this run on a separate (presumably) dedicated server? Otherwise what's the point of having this running if it becomes inaccessible the instant my server goes down?

Re: Show HN: Built a self hosted clean status page and batteries

#10
post #8

[flagged]

It's a small project with a clear and limited scope which makes it a good "hello world" project for developers. Just like we have a good selection of static site generators and blog frameworks used by one person only, nothing wrong with that.

In the end what makes a status page successful isn't the code of the status page itself, but the reliability, the integration with existing tools (PagerDuty etc.) and all the checkboxes needed to sell to bigger companies.

Post reply on HN