Alinea

Open source headless CMS with minimal setup

Headless CMSNext.jsTypeScriptOpen SourceStatic Sites

Overview

Alinea is an open source headless CMS with minimal setup providing fully typed content right in your repository.

License

MIT

Best for:

TypeScript projectsNext.js sitesType-safe contentGit workflows

Features

Type-safe API
Git Backend
Live Preview
Dashboard
Code-first Schema

Pricing

Free TierNo
Free LimitUnlimited, open source
Self-hostedYes

Compatible Technologies

Frameworks
Server Requirements

18.x+

Node.js

Technical Features

GraphQL API
REST API
Webhooks
Headless
Visual Editor
Live Preview
Media Library
Image Optimization
CDN Included
i18n
Version History
Drafts
Role-Based Access
Multi-Tenant
Audit Logs
TypeScript
Official SDK
CLI Tool
Plugin Ecosystem
SSO / OAuth
CI/CD Integration
Caching
Edge Deployment
Auto Scaling

Community

837

GitHub Stars

9,81/week

NPM Downloads

2026-02-12

Last Update

Enterprise Features

Security & Compliance

Alinea is an open-source headless CMS written entirely in TypeScript, designed to live inside your project as a single NPM package with no external databases, migrations, or infrastructure to manage. Content schemas are defined in code, and all content is stored as version-controlled files in your Git repository, giving developers complete ownership over both structure and data from the first commit.

Key Features and Benefits

Alinea's defining strength is its type-safe architecture — content schemas defined in TypeScript generate fully typed query APIs, providing autocompletion and compile-time validation that eliminate an entire class of runtime errors. Content is queried through a built-in API backed by an in-memory SQLite database, which bundles data at build time and removes the need for external network requests during rendering. The platform includes live preview with React Server Components support, an editorial workflow with draft and archive states, built-in internationalization for multilingual projects, and custom field extensibility through simple constructor functions. Its dashboard runs locally without additional setup, making integration into existing development environments seamless for both individual developers and teams.

Use Cases and Target Audience

Alinea is tailored for TypeScript-focused developers and teams building content-driven websites with frameworks like Next.js, SvelteKit, or Astro who value Git-based content management and type safety over traditional database-backed approaches. It fits particularly well in projects where editorial simplicity, zero-infrastructure overhead, and tight codebase integration matter more than enterprise-scale content operations.