web

36 entries All tags

Topics

  • Search Engine Optimization Measures that help search engines find, understand and properly display pages. The basis is stable URLs, clear titles and internal links.
  • Static Website A website made of finished HTML files that are built once and then served unchanged. No server code, no database.
  • Vector Tiles Map tiles that contain geometries instead of finished images. The map's appearance is only created in the browser.

Tools

  • Astro Tool for building websites from content such as Markdown. Ships plain HTML by default and only loads JavaScript where it is needed.
  • Caddy Web server and reverse proxy that obtains and renews TLS certificates on its own, configured in a short Caddyfile.
  • Leaflet Small JavaScript library for interactive maps in the browser, with image tiles, markers and plugins such as marker clustering.
  • Matomo Open-source web analytics that runs on your own server and can import web server logs instead of using a tracking script.
  • Stadia Maps Map tile service built on OpenStreetMap data, with an EU endpoint and authentication by domain instead of an API key.
  • Streamlit Python library that turns a script into a web interface with tables, charts and input fields.

Articles

  • A Callout Component for Astro A reusable Astro info box with info, note and warning variants, an optional title, social links and a members section with links per person.
  • A GDPR-Compliant Google Maps Embed An 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 Embed An 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.
  • Adding Notes, Links and Archives Three sections of my old Astro site: short notes rendered inline, a link log as a data collection, and one archive across every content type.
  • Astro Client Islands under a Strict CSP Why Astro islands fail silently under script-src 'self', how I allowed the two hydration inlines by sha256 hash, and a deploy check for hash drift.
  • Astro Justified Gallery Layout My npm package @altner/astro-justified-gallery-layout: a small justified gallery for Astro with EXIF, LQIP previews, a virtual variant and a lightbox.
  • Building the Photo Stream The photo stream of my old Astro site: JSON sidecars next to each JPG, import.meta.glob, a justified grid and batches revealed on scroll.
  • Caddy as Reverse Proxy with HTTPS and a Canonical Host Caddy in front of a container on a VPS: automatic TLS from Let's Encrypt, www redirected to the bare domain, the app port closed to the outside.
  • Collection Sets and Category Collections One boolean in the frontmatter told the photo sets of my old site apart from pure navigation nodes, so only finished sets reached the archive.
  • Fetching Search Console and Bing Data via API A read-only Google service account and a Bing API key for a weekly script on my server, set up step by step in the German interfaces, with the mistakes to avoid.
  • How an LLM Wiki Works How an LLM wiki works, shown on this knowledge base: Markdown in its own Git repository, a Python tool with MCP for agents, and a website that only displays it.
  • Joining the IndieWeb Why I made my own domain the canonical home of everything I publish, and how rel=me and h-card verified my identity on the old site.
  • Live Webmentions on a Static Site Webmentions rendered at build time plus a silent client-side refresh, so new likes and replies show up on a static Astro site without SSR or a redeploy.
  • Markdown as a Database For a personal website, a folder of Markdown files with a structured header replaces the database, as long as a schema checks it.
  • Marking Up Posts with Microformats2 h-entry h-entry, h-card, h-feed and u-syndication classes on articles, notes and photos of an Astro site, machine-readable without any visible change.
  • My Old Astro Website My old site at adrian-altner.de: Astro with the Node adapter, typed content collections, IndieWeb features and photos as files with JSON sidecars.
  • Obsidian Wiki-Links in Astro with a Remark Plugin A small Remark plugin that turns Obsidian [[wiki-links]] into normal links at build time, with labels, heading anchors and a fallback for unknown targets.
  • Photo Albums with Astro's Content Layer Album pages on top of the photo stream of my old site: a content collection per album, covers by filename, album-scoped photo routes and a sub-nav.
  • Receiving and Sending Webmentions Incoming webmentions through webmention.io, rendered at build time in Astro, and outgoing ones sent by webmention.app after every deploy.
  • Registering a Website with Google and Bing Google Search Console via a DNS record at Cloudflare, Bing Webmaster Tools by import, then check sitemap and IndexNow.
  • Replacing justified-layout with My Own Package How my old site swapped Flickr's unmaintained justified-layout for computeLayout() from my own package, without touching the photo tree.
  • RSS News with n8n and OpenRouter Guide: n8n reads security notices, a language model rates and rewrites them, and a restricted SSH script commits them to the Git repository of a static site.
  • Structuring Photos as a Collection Tree How the photos of my old Astro site grew from flat albums into a recursive tree: one catch-all route, photos per node, breadcrumbs and tag pages.
  • Syndication Links from State Astro imports the syndication state file at build time and renders u-syndication links on every post, so the frontmatter never needs a second edit.
  • Visitor Statistics from the Server Log with Matomo A self-hosted Matomo fed hourly from Caddy's access log: no tracking script, no cookies, masked IP addresses.
  • What the Machine Sees A small app from my old website: choose a photo, and the vision model Mirage found objects, text and the scene in it, entirely in the browser.
  • Why the Photo Tree Is No Content Collection Anymore When my old Astro site went bilingual, the photo tree left the content layer: every photo and node needs both languages in one file.