NextBlock CMS: An open-source, full-stack Next.js 16 CMS using strict Postgres JSONB & RSC (100/100 Lighthouse) #97686
Replies: 1 comment
|
Great architectural direction! Storing structured JSONB trees rather than serialized HTML strings aligns nicely with React Server Components (RSC):
|
Uh oh!
There was an error while loading. Please reload this page.
Hey Next.js community! 👋
We’ve been working on NextBlock CMS, an open-source (AGPLv3) full-stack CMS framework engineered natively for Next.js 16 (App Router + React Server Components) and Supabase (PostgreSQL).
🧱 The Problem: The "Headless Tax" in Next.js
Like many teams building with modern Next.js, we found traditional decoupled headless CMS setups (Payload CMS, Strapi, Sanity, Contentful) introduce architectural friction:
dangerouslySetInnerHTMLon the client, introducing hydration mismatches and hurting Core Web Vitals.⚡ Architectural Decisions & Technical Highlights
1. Strict PostgreSQL JSONB Trees (Zero HTML Overhead)
Instead of treating content as raw HTML strings, our Notion-style editor (powered by Tiptap) reads and writes structured PostgreSQL JSONB node trees.
2. Dynamic DB Theming & Custom Block CRUD (Zero Redeploys)
3. 1-Click Free Vercel Deployment
🚀 Code & Live Demo
💬 Community Discussion & Feedback
We’d love to get feedback from fellow Next.js engineers:
Any feedback or PRs on our architecture are welcome! 🧱
All reactions