Skip to content

keystatic

Use when working with Keystatic CMS — git-based content management with TypeScript schema, Astro/Next.js integration, and Keystatic Cloud sync. Also use when choosing between Keystatic, Sanity, and Payload for content management.

ModelSource
sonnetpack: cms
Full Reference

┏━ 🔧 keystatic ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ ┃ Git-based CMS — Markdown/YAML/JSON, no DB ┃ ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛

Keystatic (from Thinkmill) is a git-based CMS that makes Markdown, JSON, and YAML files editable via a browser UI — no database, no separate backend. Content lives in your repo.

ItemValue
Core package@keystatic/core
Astro integration@keystatic/astro
Next.js integration@keystatic/next
Admin UI (Astro)http://localhost:4321/keystatic
Admin UI (Next.js)http://localhost:3000/keystatic
Storage modeslocal, github, cloud
Cloud pricingFree (3 users), Pro $10/mo + $5/user
Reader import@keystatic/core/reader
Docshttps://keystatic.com/docs
NeedBest Choice
Git-based, no DB, small teamKeystatic
Real-time collab, multi-locale, enterpriseSanity
Full-stack app + CMS, self-hosted, complex authPayload
Non-technical editors, marketing teamSanity or Payload
Open source, static site, content in repoKeystatic
I want to…File
Install, configure storage, run dev serverreference/setup.md
Define collections, singletons, and field typesreference/schema.md
Add Keystatic to an Astro projectreference/astro-integration.md
Add Keystatic to a Next.js projectreference/nextjs-integration.md
Switch between local / GitHub / Cloud storagereference/storage-modes.md
Author rich content with MDX and Markdoc fieldsreference/mdx-authoring.md

Usage: Read the reference file matching your task. Each file has working code examples and inline caveats.