Searching weather details for your location via command line, you need curl installed, then by using this basic command line curl wttr.in you will have weather details for your location based on your IP address.
In case wttr.in has trouble fionding the right location based on IP address, try this : curl wttr.in/"Toronto" (or any other location).
If you want to know weather details for an airport, try this : curl wttr.in/JFK (or any other airport name). It is based on IATA codes.
You can even use zip codes : curl wttr.in/zip code
In conclusion, no app to install, just use wttr.in in command line.
WTTR.IN
how to use WTTR
how to use WTTR With you terminal, colours and translations. cliquer sur le blue
Last edited by Pelo on Thu 14 Jul 2016, 04:56, edited 1 time in total.
last version of meteo by our french trio
last version of meteo by our french trio here, french spoken
I give you weather near the beaches, south of France. Uk and german native generally speak french when in holidays here. So they should understand Musher0 description.
I give you weather near the beaches, south of France. Uk and german native generally speak french when in holidays here. So they should understand Musher0 description.
- Attachments
-
- Robinson.jpg
- Rainy, and windy.
- (90.91 KiB) Downloaded 355 times
wttr.in — the right way to check the weather.
https://github.com/chubin/wttr.in for manual
Actively developed. Latest commit : Jul 2, 2017
To see what wttr.in looks like : http://wttr.in/
You can download a png file :
$ wget wttr.in/Paris.png
Actively developed. Latest commit : Jul 2, 2017
To see what wttr.in looks like : http://wttr.in/
You can download a png file :
$ wget wttr.in/Paris.png
Also it is possible to use wttr.in with conky
Just add
to your ~/.conkyrc. Then conky will update current weather forecast every 10 minutes. "?T" is required, it disables colors
View options:
?0 # only current weather
?1 # current weather + 1 day
?2 # current weather + 2 days
?n # narrow version (only day and night)
?q # quiet version (no "Weather report" text)
?Q # superquiet version (no "Weather report", no city name)
?T # switch terminal sequences off (no colors)
Use curl 'wttr.in/:help' to show all options.
Just add
Code: Select all
${execi 600 curl 'wttr.in/Yourcity?0?T?Q'}
View options:
?0 # only current weather
?1 # current weather + 1 day
?2 # current weather + 2 days
?n # narrow version (only day and night)
?q # quiet version (no "Weather report" text)
?Q # superquiet version (no "Weather report", no city name)
?T # switch terminal sequences off (no colors)
Use curl 'wttr.in/:help' to show all options.
- Attachments
-
- 5WOgKsq.png
- (17.81 KiB) Downloaded 267 times