Skip to content

About

A local-first browser editor for editing Markdown and MDX pages in Astro Starlight without touching raw files.

Topics

Resources

Stars

16 stars

Watchers

0 watching

Forks

Repository files navigation

Axiom Studio for Starlight

Axiom Studio for Starlight is a local-first browser editor for Astro Starlight documentation projects.

It helps you create, edit, organize, duplicate, move, and preview documentation pages without manually working inside every Markdown or MDX file.

Axiom Studio runs locally in the browser and works directly with your project folder through the File System Access API.

Features

  • Local-first editing for Astro Starlight documentation projects
  • Direct access to src/content/docs
  • Markdown and MDX page editing
  • CodeMirror-powered editing experience
  • Writing and Code editor modes for long-form content and technical MDX editing
  • Smart insert dialogs for links, code blocks, callouts, steps, and images
  • Frontmatter editor for title, description, sidebar label, sidebar order, and sidebar visibility
  • New page creation with useful templates
  • Duplicate page workflow
  • Rename and move pages safely
  • Move pages to .axiom-trash
  • Save with optional backup protection
  • Backup history and restore workflow
  • Image manager that copies selected images into public/images
  • Insert blocks for common documentation sections
  • Live Starlight preview support
  • Source view for raw Markdown / MDX
  • Enhanced source preview for common Starlight components
  • Project Health panel
  • Current and previous project quick switch
  • Remembered project reopening
  • Multiple UI themes

Requirements

  • Node.js
  • npm
  • A modern Chromium-based browser such as Chrome or Edge
  • An Astro Starlight project with a src/content/docs folder

The File System Access API is required for folder editing. Browsers that do not support folder access may not work correctly.

Installation

Download the repository as a ZIP file by clicking the green Code button above, or clone it using Git. Extract the folder and open it in your terminal.

Install dependencies:

npm install

Start the local app:

npm run dev

Open the local URL shown in the terminal, usually:

http://localhost:5173

Usage

  1. Start your Astro Starlight documentation project in another terminal.
  2. Start Axiom Studio.
  3. Click Select Project Folder.
  4. Choose the root folder of your Starlight project.
  5. Edit pages, create new docs, manage sidebar metadata, and preview changes.
  6. Use Save + Backup for protected saves or Save Only when you do not need a backup.

Live Preview

By default, Axiom Studio expects your Starlight site to run at:

http://localhost:4321/docs

You can change the preview base URL and route prefix inside the Preview Settings panel.

Backup Behavior

When backup is enabled, Axiom Studio creates backup files inside:

.axiom-backups

Moved or removed pages may also be placed inside:

.axiom-trash

These folders are created in the selected project folder.

Notes

Axiom Studio does not require a hosted backend, database, account system, or cloud sync.

It is designed as a local editing companion for Starlight documentation projects.

Buy Me a Coffee

Axiom Studio is a free, open-source tool built by an indie developer. If you find it valuable, your support is highly appreciated! ☕
Support on Gumroad

License

This project is open-source and available under the MIT License.

About

A local-first browser editor for editing Markdown and MDX pages in Astro Starlight without touching raw files.

Topics

Resources

Stars

16 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages