GitHub RepositoryOpen SourceMITNext.jsTypeScriptDemo AvailableExternal Project

alineacms/alinea

This is an external open-source GitHub repository imported into the WOCSOL Marketplace for discovery. The original repository owner is the primary creator.

Stars
849
Forks
39
Watchers
849
Open Issues
32
alineacms/alinea

Repository Details

Repository
alineacms/alinea
Framework
Next.js
Primary Language
TypeScript
Content Language
English
License
MIT
Stars
849
Forks
39
Watchers
849
Open Issues
32
Default Branch
main
Last Synced
25 Jun 2026
Repository Status
draft_created

Repository Description

AI Summary

Content management, streamlined

Original Repository Description

Content management, streamlined

README Preview

[![npm](https://img.shields.io/npm/v/alinea.svg)](https://npmjs.org/package/alinea) [![install size](https://packagephobia.com/badge?p=alinea)](https://packagephobia.com/result?p=alinea) <br /> <a href="https://vercel.com/oss"> <img alt="Vercel OSS Program" src="https://vercel.com/oss/program-badge.svg" /> </a> <br /> # [Alinea CMS](https://alineacms.com) Alinea is a modern content management system. - Content is stored in flat files and committed to your repository - Content is easily queryable through an in-memory database - Content is fully typed ## Get started Install Alinea in your project directory ```sh npm install alinea ``` Initialize Alinea's config file ```sh npx alinea init ``` Open the dashboard to have a look around ```sh npx alinea dev ``` [Start configuring types and fields →](https://alineacms.com/docs/configuration) ## Coding agents If you are working in a project that depends on `alinea`, a handbook is included in the npm distribution at `./llms-full.txt`. ## Configure Configure Alinea in `cms.ts` ```tsx import {Config, Field} from 'alinea' const BlogPost = Config.document('Blog post', { fields: { title: Field.text('Blog entry title'), body: Field.richText('Body text') } }) const Blog = Config.document('Blog', { contains: [BlogPost] }) ``` [Type options and fields →](https://alineacms.com/docs/configuration) ## Query Retrieve content fully-typed and filter, order, limit as needed. Select only the fields you need. ```tsx import {Query} from 'alinea' console.log( await cms.get({ type: Blog, select: { title: Blog.title, posts: Query.children({ type: BlogPost, select: { title: BlogPost.title } }) } }) ) ``` [See the full api →](https://alineacms.com/docs/content/query) Content is available during static site generation and when server side querying. Conte

Next.jsTypeScriptMITcmscontent-management-systemheadlesstypescriptcontentgitbunnodejsnextjs

Related Repositories

Product Discussion

Ask questions or discuss this product. New comments are reviewed before publishing.

0 comments

Loading comments...

Explore

WOCSOL services and marketplace

Account

Sign in or create an account to manage downloads, orders, and support.