#weather #open-weather-map #temperature #data #api-key #command #feels

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

#822 in Command line utilities

28 downloads per month

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

~7–21MB
~301K SLoC