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: starter renderer (a zero-dependency site served by the CMS — the default), your own framework (Next/Astro/anything mounted in the CMS process, same port), or fully headless (API + studio only, frontend elsewhere). Either way it's one process on one port — see Embed & one process.

2. Run it

$ cd my-site && npx prelo dev
→ site http://localhost:3300/
→ 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.