-- Leo's gemini proxy

-- Connecting to bbs.geminispace.org:1965...

-- Connected

-- Sending request

-- Meta line: 20 text/gemini; charset=utf-8

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 ยท 7 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...

-- Response ended

-- Page fetched on Sun May 19 15:06:55 2024