Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

RustWeather

The temperature in your tray and a weather radar that leaves nothing to wish for. A Rust + Slint rewrite of a PyQt tray script, for Linux with KDE Plasma.

  • Tray: the temperature on a tile in its color, with a blue dot when rain is near, a triangle for warnings, a small trend arrow, and a pale tile when the data is old. The tooltip says what matters in plain sentences.
  • Radar: free zoom and pan, the current picture at once, smooth motion, a timeline with past and a two-hour forecast, rain arrival at your place, a rain curve, a click on the map for exact values, saved views, warnings and lightning as layers, a small always-on-top window.
  • Sources: DWD through Bright Sky, Open-Meteo, RainViewer outside Germany, a wetterdienst.de station page as a fallback.
  • Maps: satellite, topographic, OpenStreetMap and more, picked with a preview right on the radar. CARTO needs your key; the standard map needs neither key nor network.

Build

cargo build --release

Install

Packages for Arch Linux and Manjaro are on the releases page.

curl -LO https://github.com/vommie/rustweather/releases/latest/download/rustweather-x86_64.pkg.tar.zst
sudo pacman -U rustweather-x86_64.pkg.tar.zst

Build the Arch package

./build-package.sh

This writes dist/rustweather-<version>-1-x86_64.pkg.tar.zst; install it with sudo pacman -U.

Desktop integration

Settings > Desktop shows the state and installs the application menu entry and the icons for your user, in ~/.local/share. It notices a moved program and offers a repair. Uninstall removes them and the autostart, and leaves your settings and keys alone. Without the window:

rustweather --desktop install

API keys

CARTO maps need a key: Settings > Sources. It is stored in ~/.config/rustweather/secrets.toml, readable only by you. Keys are never part of the program, of this repository or of the logs.

Files

Settings in ~/.config/rustweather, cache in ~/.cache/rustweather, logs in ~/.local/state/rustweather/logs.

License

MIT. Map borders: Natural Earth (public domain). Icons and tray digits: Tabler Icons (MIT). See assets/README.md.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages