Next.js blog with Hygraph GraphQL, a hand-rolled AST renderer, and AdSense monetisation
A lean monetised blog exploring the Hygraph GraphQL CMS as an alternative to Sanity. The most technically interesting part is the hand-rolled AST renderer that walks Hygraph's rich-text node tree and outputs React elements without a third-party renderer library. Google AdSense integration provides display revenue on post pages.
Next.js 11 with getStaticProps and ISR fetches content from Hygraph's GraphQL endpoint at build time. The AST renderer handles headings, paragraphs, lists, code blocks, and embeds. Tailwind CSS 2 provides utility styling. Deployed to Vercel with automatic ISR revalidation.
Headless WordPress blog with Faust.js, WPGraphQL, Apollo, Tiptap editor, and self-hosted Coolify deployment
Personal blog with Sanity CMS, SWR infinite pagination, and Bootstrap 4 styling
Did this resonate?