prelo
Docs

Quickstart

A running site with a client-ready studio in five minutes.

1. Create the app

$ npx create-prelo my-site
site scaffolded · studio · content API · SQLite — one folder

One command creates a project with the CMS, the studio, the content API and a SQLite database — all in one repo. It asks one question: one port (the CMS serves site, studio and API together — the default) or headless (a separate frontend process, or bring your own Next/Astro).

2. Run it

$ cd my-site && npx prelo dev
studio http://localhost:3300/studio
api http://localhost:3300/api/schema
agents http://localhost:3300/llms.txt

First visit to /studio prompts you to create the admin account. That’s the whole auth setup.

3. Let your agent build

$ claude
> "Read AGENTS.md, then build the site for a noodle
bar — menu, hours, story and a blog. Real copy."

Every scaffold ships an AGENTS.md that explains the whole system to an agent. It writes content types into cms.config.js and creates pages, posts and media through the content API — everything lands editable in the studio. Any agent works: the running site serves /llms.txt, and the plain REST API does the rest.

4. Hand it over

Invite the client from Users, scope your agent’s key to author, and deploy. Next: configuration & schema.