01Content
Pages as building blocks
A page is an ordered list of sections. Editors rearrange, you keep the markup.
Astro + Sanity + Lumos
Astrokit is the boilerplate that already did the boring parts: CMS, blocks, forms, consent, SEO and motion. You bring the good ideas.
git clone https://github.com/szsoma/astrokit.git my-siteZero to live
Keep scrolling. The terminal is doing the typing.
01Clone
Start from the real repo, not a template button, so future updates merge cleanly.
$ git clone astrokit my-site
$ git remote rename origin astrokit
$ pnpm install
✔ 612 packages, 0 regrets02Run
No keys, no accounts. Fixtures render the whole site on the first try.
$ pnpm dev
ready in 1.2s
➜ http://localhost:4321
✔ home + /styleguide on fixtures03Connect
Answer the prompts once; Astrokit writes the config and the env placeholders.
$ pnpm astrokit init
? Content › Use Sanity project
? Consent › builtin
✔ astrokit.config.ts saved04Ship
Hit publish in the Studio and the deploy hook rebuilds the site on Vercel.
$ pnpm astrokit doctor
✔ config ✔ sanity ✔ forms
$ git push
▲ deployed. go touch grass.What you get
Watch it cycle, or poke a tab. Either way, none of this is on your to-do list anymore.
Every block ships as five tidy files: component, fixtures, schema, query and metadata. Add a folder and it shows up in the Studio. No registry to babysit.
Pages are lists of sections. Editors reorder, edit and publish; developers keep the markup. Drafts preview live in the embedded Studio.
Build a form in the Studio, drop it on a page and pick a destination: email, HubSpot or a webhook. Validation, honeypot and Turnstile are already wired.
Flip three booleans in one config file. Reduced-motion visitors get none of it, and the page still looks finished without it.
A public site for the world and a protected preview for drafts. Publish in Sanity, a deploy hook rebuilds the site.
In the box
Drag, scroll or use the arrows. We will not judge.
FAQ
Your move
Clone Astrokit, run pnpm dev and have a working site before your coffee cools.