Candifloss b559463d09 Update README
- Currently supported configuration
- Update GUI to-do and progress
2025-12-05 19:47:19 +05:30
2025-10-11 16:32:30 +05:30
2025-12-03 23:07:21 +05:30
2025-09-18 19:47:33 +05:30
2025-10-10 11:46:39 +05:30
2025-09-18 14:01:07 +00:00
2025-12-05 19:47:19 +05:30

OpenWeatherWidget

Minimal weather widget for your desktop updates using the OpenWeatherMap API.

Status

⚠️ Work in progress - not ready for regular use.

Configuration

The widget reads configuration from:

~/.config/candywidgets/openweathermap.toml

Example:

# General configs section    
[general]  
# API version.   
# Available options: "free_2.5" (default), "onecall_3.0" (WIP)  
# Other APIs are WIP  
api_version = "free_2.5"    

# Path to cache file.  
# Default: ~/.cache/candydesktop/owm_widget.json  
cache_file = "/path/to/file"    

# Query parameters section  
[query_params]
# API key. 
# Get a free API key from https://openweathermap.org
api_key = "your_api_key_here"   

# Location parameters.
# One of these must be specified: `city_name`, `city_id`, `lat` + `lon` pair, or `zip`  
# `lat=` must always be paired with `lon=`  
# Find your city id in the url of your city at https://openweathermap.org/find?
city_id = "5391959" # Example: San Francisco, US  

# Measurement units: `standard` (Kelvin, default), `imperial` (Fahrenheit), `metric` (Celcius)  
units = "metric"  

# Language. Default: "en" (English)
lang = "en"

⚠️ WIP - Full configuration format will be released later.

API

  • Currently supports the Free API v2.5. Find details on OWM or Postman.
  • One Call API 3.0 is free for up to 1000 API calls per day, but requires payment information for subscription.
  • Support for student plan may be considered later.
  • Support for One Call v3.0 may be considered later.

To-do

  • TOML configuration file
  • Fetch and parse current weather data from OWM
  • Weather forecast query
  • Complete library crate (WIP)
  • Complete configuration
  • CLI args
  • GUI - iced Slint
    • Weather info:
      • Cureent weather
      • Forecast
      • Alerts and details
    • Platforms:
      • X11
      • Wayland
    • Tested on:
  • Icons
  • Support One Call API 3.0
  • Components:
    • Daemon
    • GUI widget
    • TUI client
    • CLI client

Low-probability To-do

  • Historical weather query
  • Weather maps
Description
Tiny desktop widget for weather updates using the OpenWeatherMap API
Readme GPL-3.0 180 KiB
Languages
Rust 64.9%
Slint 35.1%