Forum › Forums › General › Tips and Tricks › easy localized weather forecast in terminal
- This topic has 4 replies, 5 voices, and was last updated Jan 13-11:28 am by rokytnji.
-
AuthorPosts
-
January 12, 2018 at 10:58 pm #5129
Anonymous
$ curl wttr.in
^—- performs a geoip lookup and returns your local forecastYou can also check the forecast for a specific city
$ curl wttr.in/Hootervilleif you want to see whatall options are available:
$ curl http://wttr.in/:helpif you want to see (and/or DIY) the server-side code for this weather service, visit:
https://github.com/chubin/wttr.in

January 12, 2018 at 11:45 pm #5130Member
koolstofje
January 13, 2018 at 7:41 am #5142Forum Admin
Dave
::Inxi also gives some weather information if I remember correctly. I cannot recall the syntax at the moment… inxi -wxx?
Computers are like air conditioners. They work fine until you start opening Windows. ~Author Unknown
January 13, 2018 at 10:38 am #5152Member
sleekmason
January 13, 2018 at 11:28 am #5156Forum Admin
rokytnji
::Inxi also gives some weather information if I remember correctly. I cannot recall the syntax at the moment… inxi -wxx?
Mainly current conditions. I run a simple weather for current tempature outside in conky also. From here.
https://bbs.archlinux.org/viewtopic.php?id=37381
Since it is mostly just temperature in the desert you wish to know about.
Here is inxi weather
harry@biker:~$ inxi -xxx -W 79772 Weather: Conditions: 39 F (4 C) - Clear Wind: From the North at 4 MPH Humidity: 37% Pressure: 30.54 in (1034 mb) Wind Chill: 37 F (3 C) Location: Pecos TX (US) Altitude: 787 ft Time: January 13, 12:21 PM CST Observation Time: January 13, 12:15 PM CSTI’ve been using curl and wttr for a while now myself. I think I poisted about it back at the old forums. Thanks skidoo for updating this forum. We left a lot behind in the move. Kinda reminds me of when I moved my Mom from the Farm to a retirement community. The cool things I left behind hurt my feelers.
Sometimes I drive a crooked road to get my mind straight.
Not all who Wander are Lost.
I'm not outa place. I'm from outer space.Linux Registered User # 475019
How to Search for AntiX solutions to your problems -
AuthorPosts
- You must be logged in to reply to this topic.