# What is Editlet

> Editlet is a Git-based CMS for Next.js and Astro: what it does and what it needs.

Editlet is a Git-based CMS for **Next.js** and **Astro**. Your content is Markdown files in your own repository. There
is no database and no hosted service.

## How it works

- **Content is files.** Each entry is a `.md` file with YAML frontmatter under `cms/content/`. One file,
  `cms/schema.json`, describes the fields. See [Content model](https://editlet.gunkin.dev/docs/content-model.md).
- **Your agent edits content.** Claude Code or another agent uses the bundled `editlet` skill. See
  [The agent skills](https://editlet.gunkin.dev/docs/agent-skills.md).
- **People edit on the site.** Add `?editlet` to the URL of any page, and the editor opens over that page.
- **Every edit is a commit.** On the live site the editor commits to `editlet/<name>` branches on GitHub and opens a
  pull request. A developer merges it on GitHub, and your host redeploys. See [Dev mode and production](https://editlet.gunkin.dev/docs/dev-and-production.md).

## Requirements

| Requirement | Version |
|---|---|
| Node.js | 22.12 or newer |
| Next.js | `next >=16` with `react >=19` |
| Astro | `astro ^6 \|\| ^7` |
| Browsers (editor) | Chrome 125+, Edge 125+, Firefox 128+, Safari 17.5+ |
| Git host | GitHub, for editing on the live site |

## Status

Editlet is alpha, and names and options can still change. The npm package is
[`editlet`](https://www.npmjs.com/package/editlet). License: MIT.

## Next steps

- [Quick start: Next.js](https://editlet.gunkin.dev/docs/quick-start-next.md) or [Quick start: Astro](https://editlet.gunkin.dev/docs/quick-start-astro.md)
- [Docs for AI agents](https://editlet.gunkin.dev/docs/docs-for-agents.md): these docs as Markdown
