Alinea is an open-source headless CMS that allows you to define your content schema in code, making it easy to manage and version your content directly in your repository. It provides a minimal setup with no databases or migrations, and offers a fully typed experience for developers.
Quickstart
Get started with Alinea in existing projects:
npm install alinea
npx alinea init
Read more in the docs: Alinea Documentation
Key features
- Minimal setup: Define your schema in code — no databases, no migrations, no CLI scaffolding. Just TypeScript.
- Git-based content: Content lives in your repository, version-controlled and easy to branch for testing or collaboration.
- Fully typed: Enjoy type-safe content queries and schema definitions with no codegen or tooling overhead.
- Intuitive structure: Organize content in a hierarchical tree that makes sense to both developers and editors.
- Live previews: See content changes in real time, including support for React Server Components.
- Editorial workflow: Manage drafts, publish with control, and archive old entries — all with built-in visual feedback.
- Query engine: Fetch exactly the data you need using a developer-friendly API — filtered, sorted, paginated.
- Custom fields: Extend the CMS with your own field types tailored to your project needs.
- Internationalization: Build multilingual experiences out of the box.
- Workspaces: Easily support multiple environments or project areas.
- Self-host or cloud: You decide how and where Alinea runs.