Svelte, in your repo
Blocks are real Svelte 5 components. Content and config are YAML. It’s a codebase, not a config screen.
Build in Svelte. Hand off the editing.
Your whole site is Svelte components and typed YAML in your repo. Point any CLI agent at it, edit across the codebase the way you would in SvelteKit, push, and hand your client a browser editor — without giving up the code or wiring up an API.
Primo keeps each block’s field definitions beside its Svelte component. Those definitions provide the editing controls your client uses. Add inline editing markers to the component where content should be editable on the page.
Your workspace holds the site as files. Pull and push move those files to and from the hosted CMS, where clients manage content through the browser editor.
Blocks are real Svelte 5 components. Content and config are YAML. It’s a codebase, not a config screen.
Claude Code, Cursor, Codex, aider — they edit the whole site as files, the way they would any framework project.
Declare fields once; the client editor and the renderer both read the same schema. No translation layer.
Compiles to plain HTML. One Go binary, your infra, MIT-licensed. Export everything anytime.
Pull, change anything, push. Then your client picks up in the browser.
Components, pages, content, config, routes — all plain files in your repo.
$ primo pull my-site.primo.build
Point your agent at the repo. It works the whole site like any SvelteKit project.
$ claude "add a /vs/sanity comparison page"
Save your changes to the selected site’s hosted draft. Review them and publish through the editor or with primo publish --only my-site.
$ primo push --only my-site
Use primo login <server-url> to sign in to the hosted Primo server. The CLI saves that login for later pull and push commands. Keep credentials out of prompts and source files. Replace my-site with the site folder you want to update.
Not today. Primo is built around Svelte’s compile-time model — it’s what lets blocks be “just files” the editor and renderer both read directly. On the roadmap is primo integrate <framework> to layer Primo onto an existing SvelteKit (then Astro) app, where Primo owns content and the editor while your production components stay in the framework.
Primo combines its Svelte renderer, content model, and browser editor. You define the fields beside each component and connect editable content with inline markers. Pull and push move the site between local files and the hosted CMS. See the workflow.
Your local workspace contains components, content, fields, and page types as Svelte and YAML files. The hosted CMS stores content and configuration in SQLite via PocketBase. Pull exports the hosted workspace; build generates a static website.
Build with an agent.
Hand it to a human.
Start with your agent or the CLI. Build locally, then deploy an editable CMS when you’re ready.
Create a new Primo site for my client. Set up a local workspace, help me choose a marketplace starter, and open the Primo editor. Read the Primo docs at https://docs.primo.build before starting.
MIT · open source · free forever