Inline editing
Text, rich text, images and links are edited on the page, with undo and draft autosave.
Your clients edit text, images and sections right on your Astro site, with role-based permissions. No forms, and the design stays untouched.
$ gh repo clone seba-seb/okapi-sanityEach role only sees
what it can edit.
Your team owns styles, components and structure. Clients edit content and publish, or leave drafts for review. The AI chat follows the same rules.
Sanity roles → okapi.policy.ts
Text, rich text, images and links are edited on the page, with undo and draft autosave.
Insert, reorder and reuse sections. Change a component once and every instance follows.
of JS on pages that don't need it. The editor never ships in the public bundle.
Changes by instruction, validated against the schema and permissions. Bring your own API key.
A complete Astro project, with sample blocks ready to be replaced.
$ gh repo clone seba-seb/okapi-sanityClaude Code, Codex or Cursor follow INSTALL.md: they ask which modules you want (slider, components, AI chat, roles), install only those, connect Sanity and make your sections editable.
> Follow INSTALL.md and add OkapiAdd them as an editor in Sanity. They edit at /studio, and every publish triggers a deploy.
→ yoursite.com/studio