Show HN: Ward – Minimalistic Server Dashboard
github.com
github.com
Less fancy but gets the job done. Happy user.
I see "dark mode" as a top-3 feature in more and more software these days. I know people feel pretty strongly about it, but it always feels out of place to me - or is it really one of the top-3 things people think about when choosing whether to try something.
However, once you start using it regularly, probably a reasonable chunk of the population wishes there was a dark mode when you're wanting to check the server stats at 11pm when you're about to go to bed and don't want to shine bright light in your (spouse's) face.
Docs on the latest dev code: https://www.chartjs.org/docs/master/
It should also be possible to render the chart in a WebWorker via the OffscreenCanvas API.
To be honest though, the data should be decimated before being sent to the chart. Some notes on it https://www.chartjs.org/docs/master/general/performance#data...
As best I can tell, you need a new service, a new function/method in the api controller (to publish the data) - then add support in the embedded front-end app Javascript/CSS.
I'm not familiar with springboot, so I'm not sure if there are any generators to help, but it might be along these lines (for the java/rest part) - maybe someone else can chime in?
https://spring.io/guides/gs/rest-service/
Doesn't look very easy to add gauges as far as I can tell.
Still handy for many I am sure!