26 August 2026

Hybrid MDX on The Mothership

Version-controlled MDX posts with client-side views and likes on Supabase hobby.

Views

Design infrastructure should stay readable when the database is asleep.

This portfolio blog keeps content in git (content/blog) and only talks to Supabase from the browser for views and likes. If the hobby project is paused, the MDX still ships as static HTML.

Stack

  • React 19 + Next.js App Router
  • next-mdx-remote-client/rsc for server MDX
  • Tailwind CSS v4 @tailwindcss/typography
  • Supabase blog_metrics for engagement counters

Why hybrid

Static MDX is the source of truth. Metrics are additive — never a gate on reading the post.

All posts