Networking | Linux | FOSS | Note-Keeping |


Friday, March 29, 2019 - Eye Candy Weather Forecast in Linux Command Line & Browser

I recently came across an eye candy console-oriented weather forecast service tool — the right way to check the weather! 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. uses wego for visualization and various data sources for weather forecast information. It uses the USCS units for the queries from the USA and the metric system for the rest of the world by default.
You can see it running here:
Weather Report


You can access the service from a shell or from a Web browser like this:
$ curl
Weather for City: Paris, France

     \   /     Clear
      .-.      10 – 11 °C     
   ― (   ) ―   ↑ 11 km/h      
      `-’      10 km          
     /   \     0.0 mm         
You can get the weather information for a specific location by adding the desired location to the URL in your request like this:
$ curl
$ curl
If you omit the location name, you will get the report for your current location based on your IP address.
Use 3-letter airport codes in order to get the weather information at a certain airport:
$ curl      # Weather for IATA: muc, Munich International Airport, Germany
$ curl      # Weather for IATA: bhv, Bahawalpur Airport, Pakistan
You can also use IP-addresses (direct) or domain names (prefixed with @) to specify a location:
$ curl
$ curl
To get detailed information online, you can access the /:help page:
$ curl
Igor Chubin


Post a Comment


Contact Form


Email *

Message *

Total Pageviews

Search This Blog