However, as software development and content management essentially share the same workflows (create -> iterate -> release/publish -> 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 ("composable commerce").
I can address both of these aspects with Contentlab (https://github.com/contentlab-sh/contentlab):
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 "composable" architectures.
Functionality and code quality is not yet where I want it to be but it is working well enough to power my own website.
A really simple example application using Contentlab is at https://github.com/contentlab-sh/example-code-serverless and an example content model for a multilanguage website is at https://github.com/contentlab-sh/example-content-multilangua...
I appreciate any feedback and absolutely encourage questions. Thanks!
No comments yet.