Weather forecast in console

Discuss anything related to command line tools here.
Post Reply
Message
Author
M1P0
Posts: 16
Joined: Thu Jul 18, 2024 3:07 pm

Weather forecast in console

#1 Post by M1P0 »

https://github.com/chubin/wttr.in
wttr.in is a console-oriented weather forecast service that supports various information representation methods like terminal-oriented ANSI-sequences for console HTTP clients (curl, httpie, or wget), HTML for web browsers, or PNG for graphical viewers.
Image


ANSI colored output will work even on older system via ANSICON and with right font.


There is also awesome-console-services list.

User avatar
webfork
Posts: 10836
Joined: Wed Apr 11, 2007 8:06 pm
Location: US, Texas
Contact:

Re: Weather forecast in console

#2 Post by webfork »

M1P0 wrote: Fri Jul 19, 2024 4:34 pm wttr.in is a console-oriented weather forecast service that supports various information representation methods like terminal-oriented ANSI-sequences for console HTTP clients (curl, httpie, or wget), HTML for web browsers, or PNG for graphical viewers.
This is great. Were you able to get this running in PowerShell?

M1P0
Posts: 16
Joined: Thu Jul 18, 2024 3:07 pm

Re: Weather forecast in console

#3 Post by M1P0 »

webfork wrote: Fri Jul 19, 2024 8:34 pmPowerShell
This should work?

Code: Select all

Invoke-RestMethod https://wttr.in

Post Reply