A visual editor for your Astro content collections
Your editors fill in typed fields instead of editing YAML, watch the page update in your own Astro dev server and hit Publish. Every publish is a normal commit to your repo, so your build, components and hosting stay exactly as they are.
Edit content without touching code
Your editors change copy. Your developers keep the stack.
Start freeYour content lives in git. Your editors shouldn't have to
Astro content collections are a great place for content: Markdown files with YAML front matter, versioned with your code, typed by your collection schemas and built into fast static pages. The catch is the people who write the content. Changing a headline means cloning the repo, finding the right file, editing YAML by hand and opening a pull request, so every small change ends up on a developer's desk.
Norcube CMS gives those editors a form instead of a file. It reads the
same Markdown files your Astro build reads, shows each front matter
field as a typed input, and writes the result back to your branch as a
commit. There's no content database to sync and no API to fetch from
at build time: your src/content folder stays the single source of
truth.
How it works with an Astro repo
Everything the CMS needs lives in your repo, next to the content it edits.
It finds your collections
Repo analysis looks for the Astro layout first: each folder under src/content (or content) becomes its own collection, nested folders included.
AI drafts the schema
The scaffolder samples your Markdown files, infers each front matter field from the values it finds and commits a working .norcube/cms/ schema in one commit.
Blocks round-trip cleanly
Page builders with a blocks array and a _component key, a common Astro pattern, are edited as typed blocks and saved back in the same shape.
Live preview in your dev server
Preview runs your repo's npm run dev in a private sandbox and shows the page as your Astro site renders it, updating a moment after you stop typing.
Clean front matter
Block and item IDs live in a sidecar under .norcube/cms/meta/, not in your front matter, so your collection schemas don't trip over CMS bookkeeping.
Media in public/
Uploads are committed to your repo, for example to public/uploads, and stored as /uploads/... paths that Astro serves as they are.
From your Astro repo to the first published edit in about ten minutes
Create the site, let the scaffolder read your collections, open a page and publish your first edit as a commit.
Create the site and install the GitHub App
In the dashboard, go to CMS → Create site, pick your repo and branch, and install the Norcube CMS GitHub App on that repo. It asks for read and write access to contents and pull requests, only on the repos you choose.
Analyze the repo
From the site dashboard, click Analyze repo. The scaffolder finds your collections under
src/content, reads their front matter and commits a schema to.norcube/cms/. Prefer to write the schema yourself? Add the YAML files to.norcube/cms/in your repo instead.Point uploads at public/
Set
publicDir: publicin.norcube/cms/config.ymland declare a storage such aspublic/uploads, so image fields upload into your repo where Astro serves them.Open a page and switch to Preview
Open any page in the editor and use the Edit / Preview toggle. The first start clones your repo and runs
npm run dev; after that, the preview follows your edits.Publish
Save keeps a draft. Publish commits the file to your branch, and your existing deploy (Cloudflare Pages, Vercel, Netlify or your own CI) builds it like any other commit.
What stays yours
Adding Norcube CMS doesn't change how your Astro site is built or where it runs.
- Your components and layouts. The CMS edits content files, not
code. Your
.astrocomponents render the content exactly as before. - Your build and hosting. Every publish is a commit on your branch, so whatever deploys your site today keeps deploying it.
- Your content. It stays as Markdown and YAML in your repo, with full git history. Stop using the CMS and nothing needs migrating.
- Your schema, in your repo. The editor's schema is a set of YAML
files in
.norcube/cms/, reviewed and versioned like the rest of your code.
Good to know before you start
Norcube CMS is in open beta. These are the limits that matter for an Astro project today:
- It doesn't read your content config. The CMS infers fields from the front matter in your files, not from the Zod schemas in your content config. Review the generated schema once and adjust field types where your Zod schema is stricter.
- One inline key. Each page keeps a single
_idin its front matter as a rename anchor. Astro's defaultz.object()strips unknown keys, so this only matters if a collection uses.strict(); then add an optional_idto it. - YAML front matter only. Pages are Markdown files with
---YAML front matter. The scaffolder picks up.mdfiles; MDX isn't supported yet. - GitHub only. Sites connect to a GitHub repository through the Norcube CMS GitHub App.
- Preview runs
npm run dev. The sandbox expects your dev server to start withnpm run dev. Code changes you push reach a running sandbox when it's rebuilt; content edits sync as you type.
Astro questions
Does it work with Astro content collections?
src/content (or content) first and creates one CMS collection per folder. The editor then maps each page to its collection by the folder it lives in, so no extra keys are needed.Does it read my Zod schemas from the content config?
.norcube/cms/. Your Zod schemas still validate the content at build time, exactly as before.Will the CMS break my build with unknown keys?
_id in its front matter, which Astro strips by default; if a collection schema uses .strict(), add an optional _id field to it.Can I use MDX?
.md files.Do I need to change my components?
Where do uploaded images go?
public/uploads, and they are stored as /uploads/... paths that Astro serves from public/.What does it cost?
Give your Astro site an editor
Connect your repo, let the scaffolder read your collections and publish your first edit as a commit. Free during the open beta, no credit card.
- No credit card
- Setup in 5 min
- Free tier forever