Mobile Reality logoMobile Reality logo

BusinessOpen-Source JavaScript CMS 2026: Top 10 Ranked by Stars

CMS concept with content management system text on yellow background for open-source JavaScript CMS frameworks article

Introduction

An open-source JavaScript CMS framework gives you a content backend you can self-host, extend, and integrate with whatever frontend or AI pipeline you ship - without paying per-seat fees to a proprietary vendor. This article ranks the ten leading options by live 2026 GitHub stars, explains where each one earns its place, and tells you which we'd actually pick at Mobile Reality after building our own CMS for our blog. It's written for founders, CTOs, and engineering leads choosing between buying a SaaS CMS, adopting an open-source one, or building in-house.

The ranking covers Strapi, Ghost, Payload, Directus, Decap, Tina, Keystone, Webiny, Sanity, and SonicJS. Star counts were pulled live from GitHub on 28 May 2026.

What an Open-Source JavaScript CMS Actually Is

A JavaScript CMS framework is a content backend written in Node.js (and usually TypeScript) that exposes content through APIs - REST, GraphQL, or both - instead of rendering HTML pages directly. The "open-source" part means you can read the code, self-host it, fork it, and avoid lock-in to a vendor's hosted plan.

Most modern entries in this space are headless: they decouple the editor and storage layer from any specific frontend. That lets the same content power a Next.js marketing site, a React Native app, an internal dashboard, and an AI agent that reads your knowledge base - all from one source of truth. A few hybrids (Ghost, Tina) blur the line by shipping opinionated frontends alongside the API.

The trade-off versus a SaaS CMS like Contentful or Sanity's hosted plan is straightforward: you own the infrastructure, you own the upgrade path, and you pay in engineering hours instead of subscription dollars. For a team with one engineer who'll never touch the CMS again after launch, that's a bad deal. For a product team shipping AI features that need direct database access to content embeddings, it's usually the right call.

When Open-Source JavaScript CMS Is the Right Choice

Use cases that consistently justify open-source over SaaS:

  • AI-integrated content pipelines. If your roadmap includes RAG over your content, semantic search, or agentic content generation, you want direct database access - not a paginated REST API behind a rate limit. Hosting the CMS yourself means your embeddings, vector index, and generation prompts all sit next to the content.
  • Multi-tenant SaaS where content is part of the product. Webiny's multi-tenancy or Strapi's role system fit here. SaaS CMS pricing scales badly when each customer needs their own content workspace.
  • Compliance constraints. Healthcare, fintech, and EU public sector projects often can't ship content through a US-hosted SaaS. Self-hosted on your own AWS or Cloudflare account solves it.
  • High-volume API reads where SaaS fees would dominate. Past ~100k reads/day, hosted CMS bills outpace what a Lambda + Postgres deployment costs.

Cases where a SaaS CMS (Sanity hosted, Contentful, Storyblok) is genuinely the better answer: marketing sites where the team has no engineers, prototypes that need to ship this week, or any product where the content team is bigger than the engineering team.

The Ranking - Top 10 Open-Source JavaScript CMS Frameworks by GitHub Stars (May 2026)

# / CMS / GitHub stars (May 2026) / Company / Maintainer / HQ /
#CMSGitHub stars (May 2026)Company / MaintainerHQ
1Strapi72.3kStrapiSan Francisco, US
2Ghost53.7kGhost FoundationSingapore
3Payload42.7kPayload (acquired by Vercel, 2024)Grand Rapids, US
4Directus35.9kMonospace Inc.Brooklyn, US
5Decap CMS19.1kNetlify (community-maintained)San Francisco, US
6Tina CMS13.4kForestry.io HoldingsToronto, CA
7KeystoneJS9.9kThinkmillSydney, AU
8Webiny8.0kWebinyLondon, UK
9Sanity6.1kSanitySan Francisco, US
10SonicJS1.6kLane Wagner (independent)-

Year-over-year, the standout move is Payload: +11.5k stars since the 2025 edition of this ranking, riding the Vercel acquisition. Strapi extended its lead. Decap is effectively stagnant - the community-maintained model has not produced major releases.

1. Strapi - 72.3k stars

Strapi open source javascript cms js content management system
Strapi open source javascript cms js content management system

Strapi is the default answer when someone asks for "the open-source CMS in JavaScript." It ships a customizable admin panel, REST and GraphQL APIs, role-based access control, and adapters for PostgreSQL, MySQL, SQLite, and MongoDB. Strapi 5 (released 2024) moved to a document-based model and improved the plugin API.

When to pick it. You want a polished admin UI out of the box, you have an engineering team comfortable with a Node.js plugin model, and you want to host it yourself. Strapi Cloud exists if you want hosted, but the open-source self-hosted path is what most teams use.

Watch out for. Plugin ecosystem quality is uneven - the official plugins are good, third-party ones less so. Migrations between major versions have historically been painful.

2. Ghost - 53.7k stars

Ghost open source javascript cms js content management system
Ghost open source javascript cms js content management system

Ghost is a publishing CMS, not a general-purpose one. It runs an opinionated frontend (themes, membership, newsletter, paid subscriptions) alongside a Content API and Admin API. If you're shipping a blog, a paid newsletter, or an editorial site, Ghost replaces about six other tools.

When to pick it. You're a publisher or solo creator and you want one platform that handles posts, members, payments, and email. The hosted Ghost(Pro) funds the open-source project, and the self-hosted path is straightforward.

Watch out for. It's not a headless CMS in the strict sense. If you want to use Ghost as a pure content backend for a custom React frontend, you can, but you're fighting the grain - Strapi or Payload is a better fit there.

3. Payload CMS - 42.7k stars

Payload CMS open source javascript cms js content management system
Payload CMS open source javascript cms js content management system

Payload had the biggest year of any framework in this list: +11.5k stars, acquired by Vercel in 2024, and Payload 3.0 ships as a Next.js-native CMS that can run inside your Next.js app rather than as a separate service. It's TypeScript end-to-end, supports MongoDB and PostgreSQL, and has the best DX for developers already in the Next.js ecosystem.

When to pick it. Your stack is Next.js + Vercel and you want the CMS to live in the same monorepo, with TypeScript types flowing from collection configs to your frontend. Granular field-level access control is also strong.

Watch out for. Tight coupling with Next.js cuts both ways. If you want to use Payload with a SvelteKit or Remix frontend, it's possible but you lose the "deploy as one app" pitch.

4. Directus - 35.9k stars

Directus open source javascript cms js content management system
Directus open source javascript cms js content management system

Directus wraps any existing SQL database in a REST and GraphQL layer plus an admin UI. The key difference from Strapi or Payload: Directus introspects your existing schema rather than owning it. You can point Directus at a Postgres database that's been running for ten years and get a usable CMS over it in an afternoon.

When to pick it. You already have a database. You're building internal tools or admin dashboards on top of existing data. You want non-engineers to edit production data with row-level permissions and an audit log.

Watch out for. It's a database admin tool as much as a CMS. If you're starting greenfield and want an opinionated content model, Strapi or Payload give you more structure.

5. Decap CMS - 19.1k stars

Decap CMS open source javascript cms js content management system
Decap CMS open source javascript cms js content management system

Decap (formerly Netlify CMS) is a Git-based CMS for static sites. Content edits create pull requests against a Git repo, which a static site generator then builds. Zero runtime backend.

When to pick it. You're running a Gatsby, Hugo, Astro, or Next.js static-export site with a small editorial team and you want changes to flow through Git. Hosting cost is effectively zero.

Watch out for. The repo has slowed considerably since the rename from Netlify CMS in 2023. Star growth is the lowest in the top 10. For new projects, consider Tina or a stack like Astro + Sanity instead.

6. Tina CMS - 13.4k stars

Tina is the modern answer to what Decap tried to do: Git-backed content with an inline visual editor that works on top of Next.js, Astro, Hugo, and similar. The editing experience runs in-context on the live site rather than in a separate admin panel.

When to pick it. You want editors to click on text on the live site and change it, and you want the change to commit to Git. Marketing sites where content people resent leaving the page they're editing.

Watch out for. Tina Cloud (the hosted backend that handles auth and media) is part of the experience. The pure self-hosted path exists but is more work than Decap's.

7. KeystoneJS - 9.9k stars

KeystoneJS open source javascript cms js content management system
KeystoneJS open source javascript cms js content management system

Keystone is a backend framework as much as a CMS - define your schema in TypeScript, get a GraphQL API, admin UI, and Prisma-backed database. Thinkmill (the Sydney consultancy behind it) uses it on production projects, which keeps the design grounded.

When to pick it. You want a code-first, TypeScript-native backend with a CMS attached, and you're comfortable defining your data model in code rather than through a UI. It overlaps with Payload - Keystone leans more toward "TypeScript application framework with admin", Payload leans more toward "CMS that's also a Next.js app."

Watch out for. Smaller community than Strapi or Payload. Plugin ecosystem is thinner.

8. Webiny - 8.0k stars

Webiny open source javascript cms js content management system
Webiny open source javascript cms js content management system

Webiny is a serverless-first CMS designed to run on AWS Lambda, DynamoDB, and Elasticsearch. Multi-tenancy is a core feature, not a plugin.

When to pick it. You're building a multi-tenant SaaS where each customer needs their own isolated content workspace, and you're already on AWS. Webiny's tenant model scales further than rolling your own on Strapi.

Watch out for. The AWS-only deployment story is the appeal and the constraint. If you want to run on Cloudflare Workers, Vercel, or your own Kubernetes cluster, Webiny is the wrong tool.

9. Sanity - 6.1k stars

Sanity open source javascript cms js content management system
Sanity open source javascript cms js content management system

Sanity is the unusual entry: the Studio (admin UI) is open-source, but the Content Lake (database, API, CDN) is a hosted SaaS only. You can customize the editor however you want; you cannot self-host the backend.

When to pick it. You value the best structured-content editor on this list (it genuinely is) and you don't mind that the storage layer is Sanity's hosted service. Pricing is usage-based and reasonable for most teams.

Watch out for. Calling it "open source" is generous. If your compliance team requires self-hosted storage, Sanity is out.

10. SonicJS - 1.6k stars

SonicJS open source javascript cms js content management system
SonicJS open source javascript cms js content management system

SonicJS runs on Cloudflare Workers + D1 + R2. It's the only entry in this list built edge-first. Tiny community, single primary maintainer, but the Cloudflare-native architecture is genuinely different.

When to pick it. You're an early-stage project, you want global edge performance from day one, and you're willing to bet on a small project. We'd not put it in front of a production SaaS, but for a side project or a hackathon, it's interesting.

Watch out for. Bus factor of one. Star count is two orders of magnitude below Strapi. Use with caution on anything load-bearing.

What We Actually Use at Mobile Reality

Honest disclosure: none of these ten frameworks ship in our current production code. We built our own.

The Mobile Reality CMS runs on Convex (real-time database with first-class TypeScript) with a block-based content schema and per-block embeddings for semantic search. The schema lives in frontend/convex/schema.ts - block types include p, h1 - h6, code, image, faq, author, plus an embeddingSchema = v.array(v.float64()) for retrieval-augmented generation. We migrated to it from Contentful when we realized the next year of our roadmap was AI features that needed direct access to content and vectors.

The reason we built it: every blog post on this site is co-authored with an internal agent - the ai-editor - that calls OpenRouter from frontend/convex/lib/planAgent.ts to draft sections, suggest links, and verify claims against our knowledge base. Models route by role: z-ai/glm-5 orchestrates, moonshotai/kimi-k2 writes, openai/gpt-4.1-mini handles lightweight passes. None of the off-the-shelf CMS in this ranking gave us a clean way to put an agent inside the editor without fighting the platform.

If we hadn't built our own, the shortlist would have been Payload (because we live in Next.js) and Convex-as-content-store with a custom thin admin. We're not maintaining the CMS as a product - only as the substrate for our own publishing - so the "build" decision was about agent integration, not features.

This matches the framing in our buy-versus-build analysis for third-party software: build only when integration with your core differentiator is non-negotiable. For a marketing site or product launch where AI isn't the point, one of the ten frameworks above will get you live faster than building anything.

How to Choose Between These Ten

The decision is rarely "which one is best" - it's "which constraint dominates." Match your situation to the right axis:

  • You're on Next.js + Vercel and want one deploy unit: Payload.
  • You want the most plugins and the most prior art to copy: Strapi.
  • You're a publisher (newsletter, blog, paid memberships): Ghost.
  • You have an existing SQL database to put a CMS over: Directus.
  • You're shipping a static site and want Git-based edits: Tina (new projects), Decap (existing setups only).
  • You're building multi-tenant SaaS on AWS: Webiny.
  • You want the best structured editor and don't need self-hosted storage: Sanity.
  • You're code-first and want a TypeScript application framework, not just a CMS: Keystone.
  • You want edge-native and tolerate a small project: SonicJS.

If none of those describe you, you're probably building something where the CMS isn't the bottleneck - start with Strapi, ship in a week, swap later if needed.

Conclusion

The open-source JavaScript CMS framework market in 2026 is healthier than it's been in years - Payload's growth, Strapi's continued lead, and the Sanity / Webiny / Keystone niches all serve real teams shipping real products. To pick well:

  • Start from constraints (stack, hosting, compliance, team shape), not from feature lists.
  • Take GitHub stars as a proxy for community size and plugin ecosystem, not for quality. Star order is roughly Strapi > Ghost > Payload > Directus > everything else.
  • Build your own only when integration with your core differentiator is non-negotiable. For a marketing site, even at Mobile Reality, we'd reach for Payload before building.
  • If the site is mostly marketing and the team is not engineering-led, a hosted visual platform may beat any of these. We cover that tradeoff in our Webflow development work.
  • Run a one-week spike with the top two candidates before committing. The DX gap between them matters more on year three than on day one.

Next step: if you're choosing a CMS for an AI-integrated product, our MVP-build framework for 2026 covers how the content layer fits the rest of the stack. If you're stuck on buy-versus-build, our take on third-party software walks through the same decision for adjacent tools.

Frequently Asked Questions

What is an open-source JavaScript CMS framework and how is it different from a SaaS CMS?

An open-source JavaScript CMS framework is a content backend written in Node.js and usually TypeScript that exposes content through REST or GraphQL APIs, letting you self-host, fork, and avoid vendor lock-in rather than paying subscription fees to a hosted vendor. Most modern options are headless, decoupling the editor and storage from any specific frontend so the same content can power a Next.js site, React Native app, or AI agent, though hybrids like Ghost and Tina ship opinionated frontends alongside the API. The core trade-off is that you own the infrastructure and upgrade path, paying in engineering hours instead of per-seat SaaS dollars, which suits product teams needing direct database access but is a poor fit for non-technical marketing teams.

When should you choose an open-source CMS over a SaaS CMS like Contentful or Sanity?

Choose an open-source JavaScript CMS when you need AI-integrated content pipelines with direct database access for RAG and semantic search, multi-tenant SaaS where content is part of the product, strict compliance requirements in healthcare or fintech that prevent US-hosted SaaS, or high-volume API reads beyond roughly 100k per day where hosted bills dominate infrastructure costs. Conversely, a SaaS CMS like Contentful or Sanity is the better choice for marketing sites with no engineers, prototypes that must ship this week, or any organization where the content team outnumbers engineering. The decision ultimately hinges on whether you need to own the data layer or prioritize speed without infrastructure management.

Which open-source JavaScript CMS is best for Next.js projects in 2026?

Payload CMS is the standout choice for Next.js in 2026, with 42.7k GitHub stars and a Vercel acquisition behind it; Payload 3.0 runs natively inside your Next.js app as a single deploy unit with end-to-end TypeScript. Strapi remains the overall leader at 72.3k stars and offers the largest plugin ecosystem if you prefer a separate self-hosted backend with a polished admin UI, while KeystoneJS provides a code-first TypeScript backend for developers who want an application framework rather than a traditional CMS. Be aware that Payload's tight coupling with Next.js means using it with SvelteKit or Remix is possible but sacrifices the integrated deployment advantage.

How do Strapi, Payload, and Directus compare for different use cases?

Strapi leads with 72.3k stars and delivers a polished admin UI out of the box, making it ideal for teams that want a self-hosted, plugin-extensible content backend without building an interface from scratch. Payload, at 42.7k stars, offers the best developer experience for Next.js and Vercel stacks with native TypeScript and granular field-level access control, though it is tightly coupled to Next.js. Directus, with 35.9k stars, uniquely introspects existing SQL databases rather than owning the schema, which makes it the right pick for internal tools and admin dashboards layered over legacy or production data.

Explore More Development Tools Rankings

Choosing the right tools and libraries can significantly enhance your development process. At Mobile Reality, we analyze and rank the best tools for various technologies, ensuring you have the insights to make the best choices. Dive into our curated lists to discover more essential resources:

Whether you’re working with React.js, Node.js, or other popular frameworks, our rankings and reviews are crafted to help developers maximize productivity and build exceptional software. If you’re looking for personalized recommendations for your next project, reach out to our team. We’re here to empower your development journey with cutting-edge tools and expert guidance.

Did you like the article?Find out how we can help you.

Matt Sadowski

CEO of Mobile Reality

CEO of Mobile Reality

Related articles

Top US proptech firms cut property ops costs by 60% in 2025 using AI-powered automation and seamless platform integrations to boost efficiency and margin.

30.04.2026

Fast-Growing US Proptech Firms Cutting Ops Costs 60% in 2025

Top US proptech firms cut property ops costs by 60% in 2025 using AI-powered automation and seamless platform integrations to boost efficiency and margin.

Read full article

Explore the top 10 US fintechs growing 150%+ in 2025, driving faster payments, AI-driven underwriting, and scalable finance solutions with proven market traction.

18.05.2026

Top 10 Fastest Growing US Fintechs in 2025 with 150%+ Growth

Explore the top 10 US fintechs growing 150%+ in 2025, driving faster payments, AI-driven underwriting, and scalable finance solutions with proven market traction.

Read full article

Explore the top 10 EU fintech firms of 2025 with 50%+ team growth, €18.4B raised, and innovations in AI, blockchain, payments, and regtech shaping Europe’s finance future.

18.05.2026

Top 10 Fast-Growing EU Fintechs Surge 2026 by Over 50% Growth

Explore the top 10 EU fintech firms of 2025 with 50%+ team growth, €18.4B raised, and innovations in AI, blockchain, payments, and regtech shaping Europe’s finance future.

Read full article