stefanjohansson.org
homeaboutposts
homeaboutposts

a site

Page hero imagePage hero image

some thoughts and reflections on it, software engineering, data and related architectures, patterns, toolings...

latest post

A vote button with no backend hero imageA vote button with no backend hero image

A vote button with no backend

How the astro-votes package turns a like button into analytics events, a nightly sync, and a JSON file the build reads. Plus what it takes to use it with something other than Umami.

pinned posts

Diagram illustrationDiagram illustration

diagrams with React Flow

demonstrating static and interactive diagrams using React Flow

Astro Components illustrationAstro Components illustration

astro components

A tour of the Astro Components collection - a small set of self-contained npm packages that add diagrams, theming, and version notes to Astro 6+ sites, each usable as a plain component or a one-line integration.

Astro Theme Toggle iconAstro Theme Toggle icon

astro theme toggle

A deep dive into @sjohansson/astro-theme-toggle - an SSR-friendly Astro theme system with light, dark, high-contrast, and color-vision modes, no flash of the wrong theme, and theming driven by either inline variables or data attributes.

posts

sometimes i post things

  • read some posts →

adventures

sometimes we build things

  • agnostic data labs →
  • aardarch →
  • astro components →

version:

built:

6a9334a

17/10/2026, 6:06:35 am

© 2008-2026 stefanjohansson.org

© 2008-2026

[gh] [in]