💾 Archived View for bbs.geminispace.org › u › AnoikisNomads › 6044 captured on 2023-12-28 at 16:37:40. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2023-11-14)

➡️ Next capture (2024-02-05)

🚧 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

Oct 08 · 3 months ago · 👍 mozz, noaoh, jmjl

3 Comments ↓

🚀 noaoh · Oct 09 at 03:43:

Yeah wttr.in is pretty cool, nice script!

♊️ jmjl · Oct 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 · Oct 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...