Skip to content

Astro CMS

Manage content published to Astro static sites via the Bridge API.

Overview

The Astro CMS page provides a full content management interface for Astro environments, including posts, categories, tags, and revision history.

Architecture

Content is published through the Bridge API — a lightweight Express.js server that:

  • Receives post data from UniSync
  • Creates/updates/deletes .md files with YAML frontmatter
  • Triggers Astro rebuilds

Features

Post Management

  • Create posts directly in the CMS editor
  • Edit existing posts with a full Markdown editor
  • Delete posts (removes the .md file)
  • Preview content before publishing
  • Revision history — Track all changes to a post

Category Management

  • Create and manage categories
  • Assign posts to categories
  • Unique slugs per environment

Tag Management

  • Create and manage tags
  • Assign multiple tags per post
  • Tag-post relationship management

Post Editor

The built-in editor supports:

  • Markdown editing with live preview
  • YAML frontmatter editing
  • Category and tag assignment
  • Slug customization
  • Draft/published status

Bridge API Setup

See the Astro Bridge setup guide for installation and configuration.

Requirements

  • Node.js 18+ on the Astro server
  • An existing Astro project with content collections
  • Network access between UniSync and the Bridge API

UniSync Documentation