pagescms is a free, open source content management systems (cms) project written in TypeScript and released under MIT. It has 4,337 GitHub stars, 600 forks and 100 open issues, and was last pushed 25 hours ago. On this registry it ranks #21 of 72 tracked projects in Content Management Systems (CMS), with 5 head-to-head comparisons available. It gained 5 stars over the last 2 tracked days.

What is pagescms?

Pages CMS is an MIT-licensed, TypeScript content management system that gives a team a browser-based editor for the Markdown, YAML, JSON and media files already stored in a GitHub repository, committing every save back to that repository.

What it is

Pages CMS is an open-source CMS for GitHub. Content is not held in a separate system behind an API: the files stay in the repository, and Pages CMS supplies an editing interface on top of them, so a team can change Markdown, YAML, JSON and media in the browser while the repository remains the source of truth. What editors see and are allowed to change is defined by a .pages.yml file added to the repository.

The problem it solves is the gap between a Git-based site and the people who write for it. Static site generators and file-based frameworks are comfortable for developers and less so for everyone else, and the usual answer is to migrate content into a database and integrate an API into the build. Pages CMS avoids that move by pointing at the repository a team already has. Its tagline states the pitch directly: no API, no migration, no integration, and every save is a commit.

Key capabilities

  • Browser editing of Markdown, YAML, JSON and media files, where saving content commits the change to the connected repository.
  • Repository-level configuration through a .pages.yml file, which defines what editors can change.
  • GitHub App authentication, configured in local development with pnpm setup:github-app alongside webhook and credential setup and a BETTER_AUTH_SECRET.
  • A hosted instance at app.pagescms.org, or self-hosting through a setup wizard run as npm create pagescms@latest -- my-cms.
  • Four self-hosting deployment targets: Node.js, Cloudflare Workers, Vercel (experimental) and Netlify (experimental).
  • Database migrations through pnpm db:migrate, with a PostgreSQL migration guide for teams moving from 2.x.
  • Development workflow of pnpm install, pnpm dev serving on localhost:3000, and pnpm validate to check changes, on Node.js 22.19 or newer and pnpm 10.

Who uses it and how

  • Teams running static sites on the generators named in the project's topics, including 11ty/Eleventy, Astro, Docusaurus, Gatsby, Hugo, Jekyll and Next.js, who want editorial access without altering their build.
  • Content teams whose writers should not need to touch Git: they edit in the browser and the resulting commits land in the repository.
  • Organisations that start with the hosted option, connecting a repository at app.pagescms.org, and self-host later if their requirements change.
  • Self-hosters choosing an environment to operate, whether a Node.js server, Cloudflare Workers, or the experimental Vercel and Netlify targets.
  • Teams upgrading from version 2.x, who follow the collaborator migration guide covering PostgreSQL.

Getting started

The shortest route is to open app.pagescms.org, connect a repository and add a .pages.yml file. To self-host instead, run npm create pagescms@latest -- my-cms with Node.js 22.19 or newer and follow the setup wizard.

How it compares

Pages CMS is not a static site generator and does not set itself against the generators named in its topics, such as 11ty/Eleventy, Astro, Docusaurus, Gatsby, Hugo, Jekyll and Next.js. It sits above them as an editing layer over the Markdown, YAML, JSON and media files those tools consume.

When to use it — and when not to

A self-hoster operates more than a file editor: a PostgreSQL database with migrations, GitHub App credentials and webhooks, and a BETTER_AUTH_SECRET. Teams not working on GitHub should not pick it, since the project describes itself squarely as a CMS for GitHub. The Vercel and Netlify deployment targets are marked experimental, so those routes warrant caution.

project readme (upstream, from github) — read inline

Pages CMS

An open-source CMS for GitHub. Edit Markdown, YAML, JSON and media in your browser. Saving content commits the changes to your repository.

Get started

Open Pages CMS, connect your repository, and add a .pages.yml file to define what editors can change. Follow the quick start for a working example.

Self-hosting

Run the setup wizard with Node.js 22.19 or newer.

npm create pagescms@latest -- my-cms

The wizard offers four deployment targets:

Follow the self-hosting guide to run your instance. If you’re moving from 2.x, see the collaborator migration guide.

Development

From the cloned repository, use Node.js 22.19 or newer and pnpm 10.

pnpm install
cp .env.example .env.local
pnpm setup:github-app

Choose Local development and set BETTER_AUTH_SECRET in .env.local. See GitHub App setup for the webhook and credentials.

pnpm db:migrate
pnpm dev

Open localhost:3000. Run pnpm validate to check your changes.

Documentation

Support the project

License

MIT.

Frequently asked questions

Is pagescms free to use?

pagescms is open source under the MIT licence. There is no licence fee and no seat count — you can self-host it or, where the project offers one, pay a vendor for a managed version instead.

What does pagescms do?

Give your team an editor for the content and media you already have in Git. No API, no migration, no integration. Every save is a commit.

What is pagescms written in?

pagescms is primarily written in TypeScript. Its source is publicly available at https://github.com/hunvreus/pagescms, and it has 4,337 GitHub stars.