Index

Pagewrite

Pagewrite is a content authoring platform for Astro sites. Developers define the structure of the content, and writers work in a visual editor built around that structure.

  • Content authors get a modern WYSIWYG editor and a form-based metadata editor, so they never touch frontmatter by hand.
  • Developers define schemas once in Pagewrite instead of hand-writing Astro content collections and Zod schemas. You can also import your existing Astro content config.

How it works

Pagewrite uses a simple folder-and-file structure:

  1. Create a schema. A schema describes the metadata fields for a set of files, the same idea as a collection in Astro.
  2. Apply the schema to a folder. Every file in that folder now gets a metadata editor that follows the schema.
  3. Write content. Authors edit the page body in the rich-text editor and fill in the frontmatter through a generated form.

The content editor

The editor is built on Lexical and supports advanced nodes beyond standard rich text:

  • Callouts
  • Tabs
  • Code groups
  • FolderList
  • Contact

These nodes sync to your Astro project through the Pagewrite SDK. You don’t have to build them yourself, because the open-source pagewrite-ui package provides ready-made components you can use alongside your Astro project.

Site settings

Site-wide configuration, such as navbar and footer information, is stored as JSON under <content directory>/site/. To use it, import the Pagewrite collections and register them in your Astro content config.

This also makes stateful components like FolderList work without manual wiring. For example, a FolderList can filter its files without you writing the plumbing.

Deployment

You have two options:

  1. GitHub integration: Use the pagewrite-astro SDK to sync your content and settings during the Astro build.
  2. Managed hosting: Pagewrite handles the entire build and deployment process for you.
Last updated on Nov 10, 2026