Terminal weather via Open-Meteo. Prints once by default (handy in update scripts); -i for a live TUI.
make install # → ~/.local/bin/weatherweather # resolve location, print, exit
weather -l "San Francisco"
weather San Francisco # positional city works too
weather -u c -l Tokyo # Celsius
weather -i # interactive fullscreen
weather -preview # static art gallery
weather -preview -i # animated art gallery| Key | Action |
|---|---|
/ |
Search / change city |
u |
Toggle °F / °C |
r |
Refresh |
q |
Quit |
Auto-refreshes every 15 minutes. Ambiguous cities show a numbered picker.
-l/ positional args$WEATHER_LOCATION- Last-used city (
~/.config/weather/config.json) - IP geolocation
- New York, NY
-u f|c, else $WEATHER_UNITS, else last config, else locale (_US → °F, otherwise °C).
# bash
eval "$(weather -completion bash)"
# zsh
weather -completion zsh > "${fpath[1]}/_weather"
# fish
weather -completion fish > ~/.config/fish/completions/weather.fishMIT © compuficial
