Genga
Why Genga
- A CMS is often a second app. It has its own server, its own deploy, its own database and its own auth. For a marketing site or a blog, that is a lot of moving parts.
- Previews are often approximate. The editor shows a form, and the site renders the content with other components. Authors publish to find out what the page looks like.
- Blocks drift from the site. The block schema lives in the CMS and the component lives in the site. They get out of sync.
- Genga keeps it in one place. A block is one React component of your site plus its field schema. The editor renders that component, on the real route, with the draft data.
Features
Editing
- Pages are lists of blocks. A block is a React component of your site with a field schema.
- Live preview of the real route in a frame. It updates at each keystroke, without a reload. Desktop and mobile widths. A click on a block in the preview selects it in the form.
- Fields:
text,textarea,slug,number,boolean,select,date,url,tags,media,richText,array,blocks,group. - Rich text with TipTap, stored as JSON and rendered from an allowlist.
Content workflow
- One draft and at most one published version per document. Autosave with a compare-and-set on a draft revision: two editors never overwrite each other silently.
- Publish, unpublish, versions with notes, restore.
- Slug changes after a publish write a redirect. The old URL answers
301. - Roles
admin,editorandauthor, with overrides per collection. An author edits only its own documents and cannot publish.
Media
- Upload with type sniffing (JPEG, PNG, WebP, AVIF, GIF, PDF; no SVG).
- WebP sizes (480, 960, 1600) with sharp, metadata removed.
- Content-hash keys: the same file uploaded twice is stored once.
- Alt text in the library, and a warning in the editor when it is missing.
Rendering and data
- SSR first. The site renders published content on the server. Drafts render only for signed-in users who can read the collection.
- Published reads go through an in-process cache with
ETag, plus a sitemap helper. - Postgres with JSONB documents. A new field needs no SQL migration. Migrations are expand-only and run under an advisory lock.
Admin
- Accessible: WCAG 2.2 AA, keyboard first, visible focus, labels and live regions.
- Built on open-source HeroUI v3, React Aria Components and TipTap. Command palette (⌘K).
- A compiled stylesheet: your app needs no Tailwind setup.
Headless
- Docker image
ghcr.io/sakuga-software/genga: admin, public API and media in one container. - Public read API v1 with
ETag/304, CORS allow list and a rate limit. OpenAPI 3.1 file. - Live preview for a site on another origin, with signed preview tokens.
| Dashboard | Media library |
|---|---|
![]() |
![]() |
Comparison
Genga is small and young. The projects below are mature and do much more. This table is a fair summary of the points where the choice differs.
| Genga | Payload | Strapi | Sanity | Directus | |
|---|---|---|---|---|---|
| Runs inside your app | Yes, a React Router 7 or 8 app | Yes, a Next.js app | No, a separate server | No, the content is in Sanity’s hosted Content Lake | No, a separate server |
| Headless API | REST, read-only, OpenAPI | REST, GraphQL, Local API | REST, GraphQL (plugin) | GROQ, GraphQL | REST, GraphQL |
| Live preview in the editor | Your components, updated at each keystroke | Yes, updated as you type | Preview in the admin; side by side on paid plans, updated after save | Presentation tool, with click to edit | Preview pane, refreshed after save; Visual Editor |
| Self-hosted | Yes | Yes | Yes, or Strapi Cloud | The Studio; the content is hosted | Yes |
| Database | Postgres (JSONB) | MongoDB, Postgres, SQLite | PostgreSQL, MySQL, MariaDB, SQLite | Content Lake (hosted) | PostgreSQL, MySQL, SQLite, MS SQL, Oracle, CockroachDB |
| License | MIT | MIT | MIT (Community Edition); ee/ under its own license |
Studio: MIT | Monospace Sustainable Core License (source-available) |
This comparison reflects our understanding of each project’s documentation in November 2026. If a cell is wrong or out of date, please open an issue and we will correct it.

