commandline weather
Querying an online service for the current weather can easily be replaced by looking outside the window _but_ regardless, I found this one quirky enough to share.
curl -sm 3 "wttr.in/New+York?m" | sed 's/w+Y/w Y/' | head -n 7
...and no, I don't live in New York :P
2023-10-08 ยท 3 years ago ยท ๐ mozz, noaoh, jmjl
3 Comments โ
๐ noaoh ยท 2023-10-09 at 03:43:
Yeah wttr.in is pretty cool, nice script!
๐ญ jmjl ยท 2023-10-09 at 05:09:
It's based on wego, but if you try to get a free api key from openweathermap, you get some missing data. Which seems to be a bummer
๐ stack ยท 2023-10-10 at 19:24:
Here is how to get it right on gemini:
For a different location, append `?Moscow` or whatever place you want...