Skip to content

keenerd/ansiweather

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Description

AnsiWeather is a Shell script for displaying the current weather conditions in your terminal, with support for ANSI colors and Unicode symbols.

AnsiWeather Screenshot

Weather data comes from the OpenWeatherMap free weather API.

Requirements

AnsiWeather requires the following dependencies :

  • A command to fetch HTTP data such as cURL or wget
  • A tool for json parsing such as jq or jshon

Usage

After cloning the repository, simply invoke the script by typing :

./ansiweather

Configuration

The following configuration options are available and should be set according to your location and preferences.

Config options can also be set in ~/.ansiweatherrc

Example : ~/.ansiweatherrc

location:Moscow,RU
fetch_cmd:ftp -V -o -
units:metric

Location

Example : Moscow,RU

location:Moscow,RU

System of Units

Both metric and imperial systems are supported.

units:metric

Display symbols

Toggle Unicode symbols display. Value can be either true or false (requires an Unicode capable display).

symbols:true

License

AnsiWeather is released under the BSD 3-Clause license. See LICENSE file for details.

Author

AnsiWeather is developed by Frederic Cambus

Resources

GitHub : https://github.com/fcambus/ansiweather

About

Weather in your terminal, with ANSI colors and Unicode symbols

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%