Introduction
Use Kirby as a backend for frontend apps, static site generators, or mobile apps – bearer token auth, KQL enhancements, and JSON templates included.
Kirby Headless is a plugin for Kirby CMS that lets you keep editing in Kirby while serving the result to whatever frontend you prefer. Drop it into an existing site without breaking your Panel or HTML routes – or start a headless-only project from scratch.
Check out the Kirby Headless Starter for a ready-to-use headless-only setup.
Features
- Bearer Token Authentication: Secure your KQL and custom API endpoints
- Enhanced Blocks & Layouts: Resolve UUIDs to file and page objects automatically
- KQL Enhancements: Built-in caching and multi-language support
- JSON Templates: Return JSON from templates instead of HTML
- API Builder: Express-style middleware support for custom routes
- Panel Integration: Frontend preview URLs and automatic Panel redirects