

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
Fermain · The CMS that isn’t there
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


How it works
One TypeScript file names the collections and their fields. Frame makes the editing forms from it, and there is no database to migrate.
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.
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.
The Publish button says how many changes are waiting. One click merges the draft, and the site’s usual build takes it live.
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


Hospitality · Direct booking
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


Non-profit · Field conservation
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
Enquire
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