/goweathertui

Goweathertui is a small text ui for displaying weatherforcastes based on openweathermap.

Primary LanguageGoApache License 2.0Apache-2.0

GOWEATHERTUI

Build Status

Screenshot

Goweathertui is a small text ui for displaying weatherforcastes based on openweathermap.

It utilizes https://github.com/briandowns/openweathermap and https://github.com/gizak/termui.

Building

$> git clone https://github.com/dragonchaser/goweathertui
$> make

Running

To run it you need to get an api key from openweathermap and export it as environment variable

export OWM_API_KEY=<your open weathermap api key>

To set your location you also have to export the following variables (adapt to your needs):

export WEATHER_LOCATION_ZIP=10115
export WEATHER_LOCALE=en
export WEATHER_COUNTRY_CODE=de