Install WTTR.IN – Command Line Ubuntu Weather Applet

Command Line Ubuntu weather applet. Install wttr.in weather indicator Ubuntu – Web frontend for wego – on Ubuntu 16.04, Ubuntu 15.04 and Ubuntu 14.04 Systems.

Wttr.in is a web frontend for a console weather application wego, using it as a backend. wttr.in is a web frontent for Wego, a weather app for the terminal. Using nothing but cURL and wttr.in, you can get weather information from a terminal, without having to install anything (well, except for cURL).

weather-ubuntu-cli

Please note that you must need curl to run wttr.in. Run the command “sudo apt-get install curl” to install curl on Ubuntu Systems. Once installed, simply run the command “curl wttr.in” (from a shell or from a Web browser) to get the weather for your current location.

You can also check the moonphase.

moon-phase-ubuntu

You can specify the location, for that you want to get the weather information. If you omit the location name, you will get the information for you current location, based on your IP address.

$ curl wttr.in/London
$ curl wttr.in/Moscow

You can use 3-letters airport codes if you want to get the weather information about some airports:

$ curl wttr.in/muc # Weather for IATA: muc, Munich International Airport, Germany
$ curl wttr.in/ham # Weather for IATA: ham, Hamburg Airport, Germany

You can also use IP-addresses (direct) or domain names (prefixed with @) as a location specificator:

$ curl wttr.in/@github.com
$ curl wttr.in/@msu.ru

To get this information online, you can access the :help page:

$ curl wttr.in/:help

help-curl

https://github.com/chubin/wttr.in

Install WTTR.IN – Command Line Ubuntu Weather Applet originally posted on Source Digit – Linux, Ubuntu Tutorials & News, Technology, Gadgets & Gizmos.