gdpr
Posts tagged gdpr
-
Embedding Google Maps GDPR-compliant — consent box with app links
A lightweight Google Maps embed component for Astro: no request before consent, localStorage-based consent, automatic Apple Maps and Google Maps app links from GPS coordinates.
-
Embedding YouTube videos GDPR-compliant — three-tier consent box without a cookie
A lightweight YouTube embed component for Astro with real consent (once / remember / external), no cookie, and no third-party request before the click.
-
Why Stadia Maps instead of OpenStreetMap tiles?
For the photo world map I wanted OSM data, but not a tile server overseas. Why I chose against the official OSM tile servers and in favour of Stadia Maps' EU endpoint.
-
Caching webmention avatars locally at build time
A small Astro helper that downloads webmention author photos during the build, dedupes them, and serves them locally — for a strict CSP, stronger privacy, and better availability.
-
Security headers for an Astro site behind Caddy
How I hardened my site with a strict Content Security Policy, clean response headers, and a GDPR-compliant configuration — and solved the Astro inline-script gotcha along the way.