A visual editor for the files your site is made of
GitCMS edits Markdown and MDX as a document, frontmatter as a form, and JSON, YAML or TOML data files, like menus and footers, as forms. Every save writes the same plain files back to your repository, so your framework, your build and your coding agent keep working exactly as before.
Emergency roof repair
- Description
- Fast, insured roof repairs across Austin, day or night.
- Price from
- $249
- Hero image
- crew-on-roof.jpg
- Areas
- Austin ×Round Rock ×Cedar Park ×
When to call us
A leak after a storm can’t wait for Monday.
We tarp, patch and photograph the damage for your insurer…
Footer
src/data/footer.json - Company
- Acme Roofing
- Phone
- (512) 555-0142
- hello@acme-roofing.com
- Storm banner
- Show “24/7 emergency repairs” above the footer
- Copyright
- © 2026 Acme Roofing LLC
Your site is files. Your editors don’t want to see them.
A code-first site keeps its content next to its code: posts and pages in Markdown or MDX, the menu in navigation.json, the footer in a YAML file, theme settings in config.toml. That’s the right call for the site. It’s a bad interface for the person who has to change the pricing line on a Friday afternoon.
So the edit goes back to the developer, or it gets made in GitHub’s web editor and a missing quote breaks the build. Hosted CMSs fix the interface by moving content into their database, and then you’re maintaining sync, webhooks and an export plan for the day you leave.
An editor for a code-first site should be a better view of the files you already have, not a new home for them.
From file to form, without a migration
- 1
Point GitCMS at your content
Your coding agent runs create-gitcms. It finds your collections, frontmatter format and media folder, and infers field types from the entries you already have.
.gitcms/sites/<site>/ - 2
Edit like a document
Type / for headings, tables, callouts, code and images, and drag blocks to reorder them. Frontmatter sits above the body as fields: dates get a picker, tags become chips, images open the media library.
- 3
Save back to the same file
GitCMS writes Markdown or MDX in the format your site already uses, and only the changed values in data files. With review before publish, the save becomes a draft; with direct publish, it goes to your default branch.
src/content/blog/launch-week.mdx
What it changes for you
Clients edit their own pages, menus and footers in forms they can’t break. Field rules and select options keep them inside the design you built, so a handoff doesn’t end with a broken layout and a support ticket.
GitCMS for agencies FreelancersHand over a site the client can actually update. You keep the Astro or Next.js codebase you like working in; they get an editor that looks like a document, not a repository.
GitCMS for freelancers StartupsMarketing changes homepage copy, the changelog and the docs without filing a ticket. Engineers review a small, readable diff instead of being the ones who type it.
GitCMS for startups Solo buildersWrite the post in a proper editor instead of a code tab next to your product work. Slash commands, images and internal links are there when you need them, and the post is still a file your agent can edit tomorrow.
GitCMS for solo buildersWhat a save looks like in your repository
The editor is a view over plain files. This is what each action writes.
- Edit a post
- The same
.mdor.mdxfile, with frontmatter in the format you already use: YAML, TOML or JSON. - Use a framework component
- Your framework’s own syntax, kept as written: MDX components, Hugo shortcodes, Jekyll includes and more (beta).
- Change the footer
- Only the edited values in the data file. Comments, key order, quoting and indentation stay as they were.
- Upload an image
- A file in your media folder or object storage, referenced by path in the entry.
- Publish
- A commit on your default branch, or a draft merged after review, depending on the site’s publishing mode.
An editor that knows it’s editing files
Slash commands and drag-and-drop
Headings, lists, to-dos, tables, callouts, code blocks, equations and a table of contents, inserted with / and moved by dragging.
Frontmatter as a form
Text, rich text, numbers, dates, selects, multiselects, URLs, slugs and images, each with its own control and its own validation.
Forms for data files
Menus, footers, team lists and theme settings get tabs, cards and editable tables. Point a form at one part of a file so build settings stay out of reach.
Framework components, in beta
MDX components and SSG syntax like Hugo shortcodes, Jekyll includes and Nuxt MDC are kept intact instead of flattened into text.
Internal link suggestions
With a sitemap configured, link search suggests your published pages, so nobody pastes URLs by hand.
Draft recovery
If a tab closes or the connection drops, GitCMS offers your unsaved draft the next time you open the entry, and warns you if the file changed since.
Questions, answered
Can GitCMS edit MDX files with components? +
Yes. MDX files open in the same visual editor, and JSX components used by Astro, Next.js, Docusaurus and others are kept instead of flattened to text. Editing component syntax is in beta.
How do editors change menus or footers kept in JSON or YAML? +
Add the file as site data. GitCMS auto-detects its fields and shows it in the sidebar as a form, like Navigation or Footer. Saving changes only the values that were edited.
Do I have to write a schema first? +
No. GitCMS infers field types from your existing entries and data files. Refine labels, types, options and validation later in Settings; the result is saved to the .gitcms folder in your repository.
Will my frontmatter format change? +
No. GitCMS keeps the format your site uses, whether that’s YAML, TOML or JSON, so you don’t have to migrate your content model to get a better editor.
Can AI agents use the same fields? +
Yes. Agents connected through GitCMS MCP read and change entries and site data against the same fields and rules, and follow the same publishing mode as everyone else.
What happens to my content if I stop using GitCMS? +
Nothing needs exporting. Your content was always plain files in your repository. Remove the .gitcms folder if you want no trace of the setup.
Give your content files an editor
Connect your repository and edit your first post. Nothing to migrate, nothing to export later.