A GDPR-Compliant Google Maps EmbedAn Astro component that loads Google Maps only after consent, stores the decision in localStorage and builds Google and Apple Maps links from coordinates.
A GDPR-Compliant YouTube EmbedAn Astro component that loads YouTube only after a click: show once, agree and remember, or just the link. No cookie, no request to Google before consent.
Caching Webmention Avatars LocallyAn Astro helper that downloads webmention avatars during the build, dedupes and sweeps them, so the CSP stays strict and readers never hit the avatar host.
Security Headers in CaddyA strict Content Security Policy, HSTS and no-referrer in a Caddy site block, checked with Webbkoll, securityheaders.com and the Mozilla Observatory.
Why Stadia Maps Instead of OpenStreetMap TilesFor the photo world map I wanted OpenStreetMap data from an EU server without running a tile server myself. Stadia Maps met every criterion.