Display short term rain forecast and weather alerts on the command line.
  • Rust 97.9%
  • zsh 2.1%
Find a file
2026-04-02 11:41:22 +02:00
src Fixed bug in argument parsing. 2026-04-02 11:41:22 +02:00
.gitattributes Added Zsh completion script. 2026-03-31 10:21:12 +02:00
.gitignore Initial commit. 2026-03-24 19:11:16 +01:00
_forecast Added Zsh completion script. 2026-03-31 10:21:12 +02:00
Cargo.lock Update. 2026-03-31 10:18:39 +02:00
Cargo.toml Initial commit. 2026-03-24 19:11:16 +01:00
readme.md Rephrased config section. 2026-03-27 19:19:41 +01:00

forecast

Displays 24 hour rain forecast and weather alerts on the command line. Works only for locations in Germany.

Data sources

Installation

cargo build --release

Usage

Usage: forecast [OPTION] [LOCATION]...

When no LOCATION is given, print out forecasts for all configured locations not
marked as hidden.
Options:
  -h, --help     Show this help.
  --locations    List all configured locations.
  -v, --verbose  Display more information about weather warnings.
  --version      Show version.

Configuration

Locations are configured in forecast.conf in $XDG_CONFIG_DIR (likely ~/.conf/). Example config file:

[Cologne]
latitude=50.56
longitude=6.57
timezone="Europe/Berlin"
hidden=false

[Berlin]
latitude=52.31
longitude=13.24
timezone="Europe/Berlin"
hidden=true

License

forecast is released under GPLv3.