LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

yr

Weather forecasts delivered to your terminal

TLDR

Show current weather
$ yr
copy
Show 5-day forecast
$ yr -f
copy
Show tomorrow's weather at noon
$ yr -d 1 -h 12
copy

SYNOPSIS

yr [options]

DESCRIPTION

yr is a command-line tool that fetches weather data from the yr.no API (Meteorologisk institutt) and OpenStreetMap's Nominatim API. It outputs forecasts in JSON format and supports querying specific hours and multi-day forecasts via a configuration file.A configuration file (typically under `~/.config/yr/`) stores the default location, units, and language so simple queries can be made without arguments.

PARAMETERS

-f, --forecast

Show a multi-day forecast instead of the current weather.
-d DAYS
Forecast offset in days from today (0 = today, 1 = tomorrow).
-h HOUR
Forecast hour of the day (0-23).
-l LOCATION
Override the configured location for this query.
--help
Display help information.

CONFIGURATION

~/.config/yr/config.toml

Default location, units, and language settings.

INSTALL

yay -S yr
copy

CAVEATS

Requires network access to reach yr.no and Nominatim. Data coverage is global but precision varies by location. Hourly forecasts are limited to the range provided by the upstream API.

HISTORY

yr was created by clux and is written in Rust.

SEE ALSO

curl(1)

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid