Skip to content

Decap CMS Integration

Decap CMS is a Git-based admin UI for content. LaikaCMS ships a Decap-compatible backend (@laikacms/decap) so you can pair that admin with any LaikaCMS storage repository — filesystem, R2, S3, WebDAV, and more.

Two integration shapes are supported, in increasing order of complexity:

PatternWhen to useBackend hostAuth
Hosted gatewayMultiple sites sharing one Decap admin + Laika backendA separate Worker / server you operate (the laika-gateway app moved to its own repo)GitHub OAuth (or other provider)
Standalone WorkerYou want full control of storage, auth, and routingYour own Hono/Worker appJWT (or your scheme)

The primary documented integration path is the Standalone Worker (BYO storage) wiring: you construct a StorageRepository, wrap it in the ContentBase document/asset repos, and expose them through decapApi(...). Everything else (admin shell, OAuth2, framework bridges) builds on top of that handler.

In this section

Released under the MIT License.