TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Show HN: Contentlab – Run a GraphQL Content Management API on Top of Git

1 点作者 advancingu超过 2 年前
Hi HN! After working on several larger Content Management System (CMS) integrations, I noticed that existing commercial CMSs suffer from workflow issues that are similar to developing software in a team without using a version control system. This is because today&#x27;s CMSs typically rely on a shared folder-like approach, where editors work in a single shared space and then publish content to production “file by file”.<p>However, as software development and content management essentially share the same workflows (create -&gt; iterate -&gt; release&#x2F;publish -&gt; maintain), I started looking for ways to build the usual Create, Read, Update, Delete CMS APIs on top of Git. At the same time, there is a market trend in ecommerce away from using large systems that do many things to architectures consisting of smaller systems that are easier to maintain and integrate (&quot;composable commerce&quot;).<p>I can address both of these aspects with Contentlab (<a href="https:&#x2F;&#x2F;github.com&#x2F;contentlab-sh&#x2F;contentlab" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;contentlab-sh&#x2F;contentlab</a>):<p>It is an Open Source library I developed to generate and run a GraphQL content management API on the fly, exclusively from data in a Git repository. This enables content to be stored and managed with all Git features (branching, merging, immutability, etc.) and should allow for vastly improved editing workflows. By stripping out all non-essential features like user management and an editing UI, I think the library also fits really well into &quot;composable&quot; architectures.<p>Functionality and code quality is not yet where I want it to be but it is working well enough to power my own website.<p>A really simple example application using Contentlab is at <a href="https:&#x2F;&#x2F;github.com&#x2F;contentlab-sh&#x2F;example-code-serverless" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;contentlab-sh&#x2F;example-code-serverless</a> and an example content model for a multilanguage website is at <a href="https:&#x2F;&#x2F;github.com&#x2F;contentlab-sh&#x2F;example-content-multilanguage-website" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;contentlab-sh&#x2F;example-content-multilangua...</a><p>I appreciate any feedback and absolutely encourage questions. Thanks!

暂无评论

暂无评论