{"id":13876187,"url":"https://github.com/alineacms/alinea","last_synced_at":"2025-05-14T08:08:01.130Z","repository":{"id":45335376,"uuid":"404660887","full_name":"alineacms/alinea","owner":"alineacms","description":"Content management, streamlined","archived":false,"fork":false,"pushed_at":"2025-05-07T10:40:03.000Z","size":54764,"stargazers_count":759,"open_issues_count":28,"forks_count":32,"subscribers_count":7,"default_branch":"main","last_synced_at":"2025-05-07T10:40:20.145Z","etag":null,"topics":["bun","cms","content","content-management-system","git","headless","nextjs","nodejs","typescript"],"latest_commit_sha":null,"homepage":"https://alinea.sh","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/alineacms.png","metadata":{"files":{"readme":"readme.md","changelog":"changelog.md","contributing":"contributing.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2021-09-09T09:24:53.000Z","updated_at":"2025-05-07T10:40:07.000Z","dependencies_parsed_at":"2024-03-29T09:30:18.840Z","dependency_job_id":"ebe6f793-f74f-4e45-8f06-82fb6f298201","html_url":"https://github.com/alineacms/alinea","commit_stats":{"total_commits":1976,"total_committers":11,"mean_commits":"179.63636363636363","dds":0.09210526315789469,"last_synced_commit":"a8b56cff96585431f65b5da3b1ba0c031deff2f3"},"previous_names":[],"tags_count":209,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alineacms%2Falinea","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alineacms%2Falinea/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alineacms%2Falinea/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alineacms%2Falinea/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alineacms","download_url":"https://codeload.github.com/alineacms/alinea/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254101557,"owners_count":22014908,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bun","cms","content","content-management-system","git","headless","nextjs","nodejs","typescript"],"created_at":"2024-08-06T06:01:06.866Z","updated_at":"2025-05-14T08:07:56.123Z","avatar_url":"https://github.com/alineacms.png","language":"TypeScript","funding_links":[],"categories":["TypeScript","typescript"],"sub_categories":[],"readme":"[![npm](https://img.shields.io/npm/v/alinea.svg)](https://npmjs.org/package/alinea)\n[![install size](https://packagephobia.com/badge?p=alinea)](https://packagephobia.com/result?p=alinea)\n\n# [![Alinea CMS logo](https://github.com/alineacms/alinea/raw/HEAD/apps/web/public/logo.svg)](https://alinea.sh)\n\nAlinea is a modern content management system.\n\n- Content is stored in flat files and committed to your repository\n- Content is easily queryable through an in-memory SQLite database\n- Content is fully typed\n\n## Get started\n\nInstall Alinea in your project directory\n\n```sh\nnpm install alinea\n```\n\nInitialize Alinea's config file\n\n```sh\nnpx alinea init --next\n```\n\nOpen the dashboard to have a look around\n\n```sh\nnpx alinea dev\n```\n\n[Start configuring types and fields →](https://alinea.sh/docs/configuration)\n\n## Configure\n\nConfigure Alinea in `cms.tsx`\n\n```tsx\nimport {Config, Field} from 'alinea'\n\nconst BlogPost = Config.document('Blog post', {\n  fields: {\n    title: Field.text('Blog entry title'),\n    body: Field.richText('Body text')\n  }\n})\n\nconst Blog = Config.document('Blog', {\n  contains: [BlogPost]\n})\n```\n\n[Type options and fields →](https://alinea.sh/docs/configuration)\n\n## Query\n\nRetrieve content fully-typed and filter, order, limit as needed.  \nSelect only the fields you need.\n\n```tsx\nimport {Query} from 'alinea'\n\nconsole.log(\n  await cms.get({\n    type: Blog,\n    select: {\n      title: Blog.title,\n      posts: Query.children({\n        type: BlogPost,\n        select: {\n          title: BlogPost.title\n        }\n      })\n    }\n  })\n)\n```\n\n[See the full api →](https://alinea.sh/docs/content/query)\n\nContent is available during static site generation and when server side querying.  \nContent is bundled with your code and can be queried with zero network overhead.\n\n[How alinea bundles content →](https://alinea.sh/docs/content)\n\n## Deploy anywhere\n\nAlinea supports custom backends that can be hosted as a simple Node.js process or on serverless runtimes.\n\n[Setup your backend →](https://alinea.sh/docs/deploy)\n\n## How to contribute to this project\n\nHave a question or an idea? Found a bug? Read how to [contribute](contributing.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falineacms%2Falinea","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falineacms%2Falinea","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falineacms%2Falinea/lists"}