#weather #open-weather-map #data #display #temperature #api-key #terminal

app forecaster

A simple weather forecaster that takes all the data from https://openweathermap.org/ and displays it in a nice way

4 releases

0.1.3 Dec 22, 2023
0.1.2 Dec 17, 2023
0.1.1 Dec 6, 2023
0.1.0 Dec 6, 2023

#2065 in Command line utilities

MIT license

20KB
542 lines

Weather CLI

This package allows you to fetch weather date from OpenWeatherMap to your terminal. To use it you need to get an API key on their site.

How to use it

With cargo installed, run the following command:

1. cargo install forecaster
2. forecaster config set api_key <your_api_key>
3. forecaster current <city_name>

# Example result
> Temperature: 5.68
> Feels like:  1.66
> Wind speed:  6.26

Dependencies

~6–18MB
~266K SLoC