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

=> ๐Ÿ‘ค AnoikisNomads

2023-10-08 ยท 1 year 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:

=> โ€” tilde.cafe/~stack/weather

For a different location, append ?Moscow or whatever place you want...

Proxy Information
Original URL
gemini://bbs.geminispace.org/u/AnoikisNomads/6044
Status Code
Success (20)
Meta
text/gemini; charset=utf-8
Capsule Response Time
79.684708 milliseconds
Gemini-to-HTML Time
0.404628 milliseconds

This content has been proxied by September (ba2dc).