@[email protected]
https://nl.fedimeteo.com/ternaard
#FediMeteo #FediMeteoUpdates #FediMeteoCoverage #FediMeteoAnnouncements #Netherlands
Excellent work Fedimeteo
You are systematically covering many areas of the planet, with weather information, right here at the fingertips of the FediVerse userbase
Many remain silent, and I'm not speaking for them, however I am certain that everyone is thankful for your hard and systematic work
And most of all you're doing it on a VPN running freeBSD which cost you 4 Euros a month which is an impressive feat
#FediMeteo #FediVerse #freeBSD #weather #technology #OpenSource #programming
#Nederland
@Dendrobatus_Azureus @admin @ternaard
I even enjoy fedimeteo from the command line! ;)
alias fedimeteo='w3m -dump "https://us.fedimeteo.com/{{city}}__texas/" |tr "\n" ^ |sed "s/āā*/\n/g" |head -1 |tr ^ "\n" |sed -n "/^Weather for {{City}}/,/^#{{City}}/p"'
rld@Intrepid:~$ fedimeteo |head
Weather for {{City}}, Texas š
Current temperature (at 05:42): 39.6°F (Partly cloudy)
Wind speed: 13.1 mph (5.9 m/s), direction: ā 327°
Air Quality:
⢠AQI: 27 š¢ (Good)
⢠PM2.5: 1.1 μg/m³
⢠PM10: 1.1 μg/m³
w3m is a great little terminal web browser, as it's easy to compile on nearly any OS and has some great features.
For my scripts, I usually try to auto-detect the presence of lynx, links, w3m, and chawan, but for my shell alias, I just picked w3m, which I have installed everywhere. š
The javascript tool yt-dlp uses is deno
Ill play with it later in the day
#sh #shell #bash #csh #ksh #zsh #programming #technology #deno #fedimeteo #weather #w3m #sed #tr #pipe
Deno is a full JS stack. If you want to use it for the command-line, I'd recommend trying something more lightweight, although deno does have its fans, especially compared to the slow-motion train wreck that is node.js.