💾 Archived View for bbs.geminispace.org › u › AnoikisNomads › 6044 captured on 2024-08-18 at 19:56:57. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2024-07-09)

➡️ Next capture (2024-08-25)

🚧 View Differences

-=-=-=-=-=-=-

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 · 10 months 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...