Introduction
The Kirby Headless plugin enhances your Kirby site with headless capabilities.
Introduction
This plugin is designed for developers who want to use Kirby's backend to serve content to a frontend application, static site generator, or mobile application. You can either add headless functionality to your existing Kirby site, or use this plugin to build a headless-first CMS from scratch.
Check out to the Kirby Headless Starter repository for a ready-to-use headless-only setup!
Key Features
- ๐งฉ Optional bearer token authentication for KQL and custom API endpoints
- ๐งฑ Resolve fields in blocks: UUIDs to file and page objects or any other field
- โก๏ธ Cached KQL queries
- ๐ Multi-language support for KQL queries
- ๐ต Built-in CORS handling
- ๐ข Express-esque API builder with middleware support
- ๐ Return JSON from templates instead of HTML