frontmatter core

The data layer between Astro and real CMS.

Turns Astro, Markdown and YAML into clean, editable content models.

Build-time only. No runtime. No lock-in.

Modern frontends are fast.

CMS are powerful.

But they don’t speak the same language.

Astro components use props

CMS use data models

Someone has to translate.

Frontmatter is that translation.

Input

  • .astro
  • .md
  • .yaml

Frontmatter Core

  • Scans
  • Extracts
  • Builds a typed content model

Output

  • JSON IR
  • CMS adapters
  • Static or dynamic

The IR

Frontmatter produces a stable Intermediate Representation.

{
  "pages": [
    {
      "route": "/",
      "fields": ["title", "subtitle"]
    }
  ],
  "datasets": ["works", "posts"]
}

Open by design

Frontmatter Core is MIT licensed.

You can build anything on top of it.

Grav, Liquid, PHP, Headless CMS — adapters plug into the same core.

This is just the core.

Paid adapters and tools will be built on top of it.

hello@frontmatter.tech @alexandredesane