Fermain · The CMS that isn’t there

A content editor that lives inside your SvelteKit site.

Content is files in your repository. Frame gives the people who write it a form, a live preview and a publish button, and turns what they do into commits.

By invitation for now

The Frame editor on the Care Cottage site: the fields of the listing in a form on the left, and the listing as guests see it on the right
Site carecottage.co.za
Sheet Listing
Edited by Its owner
Status Published
FIG. 1 · The owner changes a tagline on the left. The site’s own components draw it on the right before it is saved.

How it works

One file to describe it. One route to edit it.

  1. 01

    Describe the content

    One TypeScript file names the collections and their fields. Frame makes the editing forms from it, and there is no database to migrate.

  2. 02

    Mount the editor

    A single route renders the editor at /admin. It is built with the site, so previews are drawn by the site’s own components, fonts and styles.

  3. 03

    Edit on a draft branch

    Editors sign in with a link sent by email. Each save is a commit to a draft branch, and unsaved work is kept in the browser until then.

  4. 04

    Publish

    The Publish button says how many changes are waiting. One click merges the draft, and the site’s usual build takes it live.

src/lib/frame.config.ts
import { collection, defineConfig, fields, singleton, setting } from '@fermain/frame';

export default defineConfig({
  media: { path: 'static/images', publicPath: '/images' },

  collections: {
    // Structured content with real component previews
    posts: collection({
      label: 'Articles',
      path: 'src/content/posts',
      title: 'title',
      fields: {
        title: fields.text({ label: 'Title' }),
        date: fields.date({ label: 'Date' }),
        cover: fields.image({ label: 'Cover photo' }),
        body: fields.markdown({ label: 'Body' })
      },
      // Renders with your site's actual Svelte component & styles
      components: { view: () => import('./ArticlePreview.svelte') }
    }),

    // Single-instance configurations (e.g. business hours, listing details)
    listing: singleton({
      label: 'Listing details',
      file: 'src/content/listing.json',
      fields: {
        tagline: fields.text({ label: 'Tagline' }),
        rates: fields.number({ label: 'Nightly rate', unit: { before: 'R' } }),
        highlights: fields.list({
          label: 'Highlights',
          item: fields.text({ label: 'Highlight' })
        })
      }
    })
  }
});

In production

Sites that are edited in Frame today.

The Frame editor on Care Cottage, with the listing form beside its live preview
Site carecottage.co.za
Editor /admin
Hosting Cloud Storage

Hospitality · Direct booking

Care Cottage

A holiday cottage with direct booking. Its owner keeps the rates, rooms, house rules and photographs up to date, and sees each change as a guest would before it is saved.

SvelteKit · Cloud Storage

The Frame editor on Snare Aware, with the figures form beside the counters it feeds
Site snareaware.org
Editor /admin
Hosting GitHub Pages

Non-profit · Field conservation

Snare Aware

A volunteer conservation group that publishes its own figures and news. Edits go to a draft branch, and publishing rebuilds the site on GitHub Pages in under a minute.

SvelteKit · GitHub Pages · GitHub Actions

Durability

What stays yours.

Files, not a database
Content is Markdown, JSON, YAML and images in your own GitHub repository. Every change has an author, a time and a diff.
Nothing to call at runtime
Content is read when the site is built. A visitor’s page never waits on a CMS, and there is no API to fail or to bill by the request.
Your hosting
Cloud Storage, GitHub Pages, Cloud Run or your own server. Frame never sits between the site and its visitors.
A clean way out
Stop using Frame by deleting the package and the /admin route. The content stays as files the site can still read.

Enquire

Ask about using Frame.

Frame is by invitation for now. We set up each site ourselves, so that its content, its previews and its branches suit the people who will edit it.

It works with any SvelteKit site whose code is on GitHub. Say what you are building and Oliver will answer by email.

Not a developer? Fermain designs, builds and looks after web software in South Africa. Visit ferma.in

Title Frame
Description A content editor inside your SvelteKit site
Made by Fermain
Licence Editor MIT · Hub AGPL-3.0
Sheet 1 of 1