Define once
Fields drive TypeScript inference, validation, editor controls, and canonical files.
Files-first CMS for Next.js
Pith gives Next.js a typed content layer and an editor — content stays in your repository.
pnpm add @pith-cms/cli@latest pnpm pith init
What it does
Fields drive TypeScript inference, validation, editor controls, and canonical files.
Use ordered JSON or Markdown frontmatter. Change storage without changing content.
Protect mutations, require revisions, preview unsaved work, and surface conflicts.
Write to a persistent volume, commit directly to GitHub, or create a pull request.
Pith editor
A typed content editor that reads and writes directly to your repository files. Define collections once — the editor generates the form. No database, no migration, no external service.
Pith CLI
Scaffold a new project, define collections interactively, and validate every entry against your schema — all from the terminal. No running services, no dashboards, just real files.