Skip to content

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

License

Notifications You must be signed in to change notification settings

dragonchaser/goweathertui

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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