An open API service indexing awesome lists of open source software.

https://github.com/husseinhareb/rusty-forecast

CLI command for retrieving weather details.
https://github.com/husseinhareb/rusty-forecast

openweathermap-api rust weather-api

Last synced: 10 months ago
JSON representation

CLI command for retrieving weather details.

Awesome Lists containing this project

README

          

# rusty-forecast
rusty-forecast is a Linux CLI command for retrieving weather details.
## INSTALLATION

```
git clone https://github.com/husseinhareb/rusty-forecast/
cd rusty-forecast/
make build
sudo make install
```
Note: Rust should be installed on your system to build the binary.
## USAGE
```
Usage: rusty-forecast [options] | rusty-forecast
Options:
-h Display this help message
-c Change the city name
-d Set the default city according to ip address
-t Show more weather details of today
-w Show weather forecast
-s Show all configuration settings
-u Set the unit of temperature (Celsius or Fahrenheit)
-a Set the api key
```
## Screenshots

![swappy-20240409_025831](https://github.com/husseinhareb/rusty-forecast/assets/88323940/9254dc3c-f69a-4cdd-97bf-f6cd81d99bbb)

## Contributing

Contributions are welcome! If you'd like to contribute:

Fork the repository.
Create your branch: git checkout -b feature/YourFeature.
Commit your changes: git commit -m 'Add some feature'.
Push to the branch: git push origin feature/YourFeature.
Submit a pull request.

## Licence

This project is licensed under the [MIT License](https://github.com/husseinhareb/rusty-forecast/blob/main/LICENSE).