RE: https://mastodon.social/@hbons/115684542795059829
several people told me (unprompted) that they liked my "micro dev blogging" for Bobby on here.
so fave if you want to see my failures in real time for the next one. :)
RE: https://mastodon.social/@hbons/115684542795059829
several people told me (unprompted) that they liked my "micro dev blogging" for Bobby on here.
so fave if you want to see my failures in real time for the next one. :)
alright let's get started!
got a backend that mirrors+archives to SQLite (hence Bobby) space weather data from the NOAA. and you'll be able to self-host a mirror.
now to write a beautiful aurora dashboard in #gtk #libadwaita UI!
the NOAA space weather data does not have an API. it's a bunch of undocumented random .json files behind a CDN that sometimes partially cuts cached files.
so I wanted to have something reliable to work with first.
it's... interesting for an official government agency... ๐คจ
hitting the ground running because of all the code reuse. thanks Bobby. :)
been a while since I used a Grid (probably GTK2 days). and being able to set relative positions to other items is a lot more intuitive and less clunky than hardcoding edge numbers.
also <sub> and <sup> texts are working nicely for scientific notations! ๐
adding โจ.
almost done with the low hanging fruit. now need to add graphs over time.
best way to do that?
boom. bar charts. ๐
just using a GtkFrame and styling with CSS.
the line graph will be trickier, but thinking about generating an SVG and displaying that.
TIL about GtkLevelBar.
GtkProgressBar's lost brother from an other mother.
just set the min/max and a value. convenient!
#libadwaita has a handy .accent CSS class for labels.
using that (+bold) to highlight when measurements are good or heading in the right direction.