diff options
| author | Danilo M. <danix@danix.xyz> | 2026-10-18 14:29:34 +0200 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-10-18 14:29:34 +0200 |
| commit | 0b5111fb636eef58e265810cf65df7f6e6d03923 (patch) | |
| tree | af9a1af06997813a10494dccd5360488a89179b5 /weather.env.example | |
| parent | 48e1a59fd091abdc409d7c30f5e33bdf53ea7cbd (diff) | |
| download | conky-theme-udt-0b5111fb636eef58e265810cf65df7f6e6d03923.tar.gz conky-theme-udt-0b5111fb636eef58e265810cf65df7f6e6d03923.zip | |
feat(weather): fetch from Open-Meteo, no API key
Forecast and air quality from Open-Meteo, flattened by jq into the
tab-separated cache lib/weather.lua parses. The city is geocoded once
and cached; a failed air-quality call drops one line, not the cache.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Diffstat (limited to 'weather.env.example')
| -rw-r--r-- | weather.env.example | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/weather.env.example b/weather.env.example index fa30879..7996d44 100644 --- a/weather.env.example +++ b/weather.env.example @@ -1,12 +1,12 @@ # Copy to ~/.config/udt/weather.env and fill in. That path is outside this -# repo on purpose: it holds a key, and anything committed is potentially -# public. chmod 600 it. +# repo on purpose: a location is personal data, and anything committed is +# potentially public. chmod 600 it. # -# Get a key at https://openweathermap.org/api. A new key returns -# "401 Invalid API key" for minutes to hours after creation; that is the API -# activating it, not a mistake in this file. +# The forecast comes from Open-Meteo (https://open-meteo.com), which needs no +# key. CITY is geocoded once through Open-Meteo's geocoding API; COUNTRY is the +# two-letter ISO code that picks the right place among same-named ones. +# UNITS is metric (C, km/h) or imperial (F, mph). -KEY=your_32_character_api_key_here -CITY=Your City +CITY=Example City COUNTRY=XX UNITS=metric |
