Repository navigation
Releases
Releases · azuki-beans/coperni
v1.1.16: Merge pull request #24 from azuki-beans/zoom_10
Adding Maximum ZOOM 10 tiles
Merge pull request #23 from azuki-beans/zoom_10 Adding MAX Zoom 10 tiles
Adding share button to share data on socials and email
Adding share button to share data on socials and email
Adding EEA Index
Merge pull request #21 from azuki-beans/eaqi Addig EEA index
v1.1.1
Changes
- Analytics: cookieless Cloudflare Web Analytics instead of Umami, enabled with a single variable,
CLOUDFLARE_ANALYTICS_TOKEN. The snippet is added by the page itself, because the domain is DNS-only on Cloudflare and automatic injection would never see it. (#13)
Since the first release
- English and Italian interface (v1.0.1)
- OpenFreeMap basemap, no key and no limits; gzip responses (v1.0.2)
- Link previews, sitemap, favicon, place names in titles (v1.1.0)
Full changelog: v1.1.0...v1.1.1
v1.1.0
Ready for sharing
- Link previews: Open Graph and Twitter tags with description and a preview image. Map and chart titles include the place name, e.g. "Air quality forecast: Milano (MI)".
- Search engines: canonical URLs,
/robots.txtand/sitemap.xml(~570 URLs: the pages plus the maps of municipalities over 50k and cities over 500k inhabitants, in both languages). - Favicon.
- Optional cookieless analytics, mentioned in the privacy text only when enabled.
- Demo GIF at the top of the README.
Fixes
- Place search results were hidden behind the map controls panel on desktop.
Development
- CI also fails on fuzzy translations.
- Four issues to start contributing: #9 German translation, #10
/en/redirects, #11 series API cache, #12Varyheader on the API.
Full changelog: v1.0.2...v1.1.0 (#8)
v1.0.2
OpenFreeMap basemap
- CARTO replaced with OpenFreeMap vector tiles: no API key, no usage limits. CARTO's free tier would have run out at about 80k visits a month, and its key was visible in the page source. (#7)
- Drawn with MapLibre GL 5 under Leaflet. Place labels sit above the pollution cells and follow the page language (Milano / Milan); road names and shields are gone; in the dark style labels are brighter and roads dimmed.
- Fewer requests for the basemap: ~10 per visit instead of ~70.
Gzip
- Responses are now compressed: pages −71/73%, grid API −81%, series API −89%. (#6)
Configuration
CARTO_API_KEYandCARTO_BASEMAP_STYLEremoved. NewMAP_BASEMAP=dark|lightsets the initial background.
Full changelog: v1.0.1...v1.0.2
v1.0.1
English and Italian
- The interface is now in English by default, with an Italian version under
/it/./redirects based on the language cookie or the browser's language; an EN/IT switcher is in the header, withhreflanglinks for search engines. - About pages are available in both languages; dates and numbers are formatted per language.
- API error messages are in English.
- Translations are compiled in a Dockerfile stage (gettext is not in the final image) and CI checks that the Italian catalogue is up to date and complete.
Full changelog: v1.0.0...v1.0.1
v1.0.0
First public release of Coperni: air quality forecasts from Copernicus CAMS on a map, for any Italian municipality, European city or coordinates.
- Data: the CAMS European ensemble forecast (0.1° grid, 5 pollutants, 48 hours ahead), downloaded once a day by a Cloud Run Job and stored as a single Parquet file (~54 MB) on a public Cloud Storage bucket.
- Web: Django + DuckDB on Cloud Run. Each map view reads only the few row groups it needs over HTTP range requests (~4 of ~600). No database server, no Redis, no Celery.
- Map: Leaflet, values compared with the EU thresholds, three renderings (halftone, hatching, transparency), ±1h/±24h navigation through the forecast.
- Chart: hourly trend over the last 7 days plus the latest run.
- Places: ISTAT municipalities and GeoNames cities, searchable with htmx.
Live at https://coperni.azukibeans.dev