CMS · Astro

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.

Finds your src/content collectionsLive preview in your Astro dev serverPublishing is a git commitFree during the open beta

Your 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.

About 10 min
  1. 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.

  2. 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.

  3. Point uploads at public/

    Set publicDir: public in .norcube/cms/config.yml and declare a storage such as public/uploads, so image fields upload into your repo where Astro serves them.

  4. 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.

  5. 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 .astro components 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 _id in its front matter as a rename anchor. Astro's default z.object() strips unknown keys, so this only matters if a collection uses .strict(); then add an optional _id to it.
  • YAML front matter only. Pages are Markdown files with --- YAML front matter. The scaffolder picks up .md files; 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 with npm 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?
Yes. Repo analysis looks for collections under 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?
No. It infers fields from the front matter values in your Markdown files and writes its own schema to .norcube/cms/. Your Zod schemas still validate the content at build time, exactly as before.
Will the CMS break my build with unknown keys?
Block and item IDs are stored in a sidecar file, not in your content. Each page keeps one _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?
Not yet. The CMS is built around Markdown files with YAML front matter, and the scaffolder only picks up .md files.
Do I need to change my components?
No. The CMS edits the content files your components already read. Nothing in your layouts, components or build changes.
Where do uploaded images go?
Into your repo, in the folder you configure, for example public/uploads, and they are stored as /uploads/... paths that Astro serves from public/.
What does it cost?
Nothing during the open beta, for any number of sites and authors. We will publish pricing before the beta ends.

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
// tick. tick. tick.
0 ticks since founding
Coming soon

Join the PromptHub waitlist

PromptHub is in active development. Leave your email and we'll invite you as soon as it opens, with a free tier and no credit card.

One email when access opens. No newsletter, no spam.