News for hackers. Stuff that matters.
Re:Wttr: Console-oriented weather forecast service by opan on Thursday July 17, 2025 @04:27AM (#44591019)
How do you make use of your national weather service? Do you get a similar terminal output in the end?
Re:Wttr: Console-oriented weather forecast service by cess11 on Thursday July 17, 2025 @05:10AM (#44591292)
Yeah. I use the one in a neighboring country because they provide decent JSON and image API:s, unlike my local weather service.

In one use case I take 'https://api.met.no/weatherapi/locationforecast/2.0/compact?l...' and push through a jq incantation to format the prognosis for the coming five hours into a neat packaging for terminal viewing, then put that in a watch -n on five minutes. I'm not really interested in the escape sequences and ASCII art.