5
18 Comments

Is there any good, git-based CMS?

My former company had a big website where multiple people often worked on the same pages. We used contentful and working together was always complicated and scary, because we could easily overwrite each other changes.

Do you know any CMS which uses git? Using git means to me having branches, merge requests, easy merge, rollback.

I would need the same at my current company and I would like to avoid the same mess.

Any suggestions?
I found netlify CMS and forestry, but they just commit changes to git, nothing more.

posted to Icon for group Developers
Developers
on July 11, 2021
  1. 4

    I stumbled upon this project today on Twitter -> https://plenti.co . It's a quite interesting git-based solution, maybe it will work for you. I just don't know if I would use it in production on a company site, the project seems too young for it.

    1. 1

      Yeah, it needs to mature a bit :) I wonder if it can work with git branches.

      1. 1

        Plenti creator here, we're still early stage with the git-cms but actively working on it. Currently you just set the branch you want to write to in your config, but eventually we'd like to support drafts and reviews via branches (netlifyCMS already does this if you want to check that out). If you're curious about our progress and want to follow along we post updates to a devlog: https://www.youtube.com/watch?v=E84M7mV2Vjc&list=PLbWvcwWtuDm3vNn5ANzgVjyL1YOICT0jE

        Thanks for the mention!

  2. 3

    We use Hugo (https://gohugo.io/) for our Blog (https://pirsch.io/blog) and Docs (https://docs.pirsch.io/) and manage it over GitHub.

    The nice thing about this setup: the theme (https://github.com/pirsch-analytics/scaffold) and the content (https://github.com/pirsch-analytics/blog) are separated from each other, so people working on either one never get in each other way!
    It is set up to check for updates on GitHub every couple of minutes and then roll out the new version automatically.

    1. 4

      @Motorschpocht note that you can use github actions instead of polling github all the time. It allows you to run any code every time someone pushes changes to git

  3. 2

    Yes, please take a look at Forestry https://forestry.io/. This is pretty cool!

    1. 1

      Thanks. I know forestry, I mentioned it in the post.

      1. 2

        Oh yes I didn't read the question well 😁 but definitely it is great choice.

  4. 2

    Oh man, ever since I learned git a decade ago I had this idea for a CMS based on git. It truly is an amazing piece of software and it's such a shame that only programmers know how to use it. I was in awe the first time I finally "got" git, but trying to explain what it is to non programmers is impossible.

    If such git CMS ever existed it would have to be a locally running software, maybe with a server running a website for the UI, opened in a browser, and managed through there.

    1. 1

      Well, finally designers have their own gitlab like solution.
      https://www.abstract.com/branches
      UX people at my company use it. I never thought i would hear sentences like "check the merge request, let's merge" from those people :)

      I could imagine that CMS users would have these features too.

  5. 2

    Take a look at Grav (https://getgrav.org/). It has a plug-in that will sync automatically from a git repo, and has worked well for my team for a few years now.

    1. 1

      Thanks for the suggestion. I saw that it uses git as a storage. But can you work on separated branches and then merge the result?

      1. 2

        Sure. You configure it to watch a specific branch and auto pull any updates. We have new content authors in other branches, then do pull requests to merge into master. Once the content goes into master, it’s automatically published to the site.

        1. 1

          Wow. ok i take a closer look on this. thanks!

  6. 1

    Please take a look at Gitbased CMS https://gitbased.com

  7. 1

    Indie Hackers option: https://spinalcms.com. it's focussed on content marketing SaaS teams.

  8. 1

    For personal stuff I always use Hugo with all markdown in a git repo. That doesn't have a GUI or something like that (although it would probably work with something like gitbook) so I wouldn't use that for bigger websites with multiple non-tech editors.

    That being said, I've made good experiences using statamic. It is a flat file CMS where you can throw everything in a git repo, configure autocommit and off you go. I think there's a plugin for the more advanced branching stuff you need.

Trending on Indie Hackers
I spent $0 on marketing and got 1,200 website visitors - Here's my exact playbook User Avatar 41 comments Why Early-Stage Founders Should Consider Skipping Prior Art Searches for Their Patent Applications User Avatar 22 comments I built eSIMKitStore — helping travelers stay online with instant QR-based eSIMs 🌍 User Avatar 20 comments Codenhack Beta — Full Access + Referral User Avatar 20 comments Veo 3.1 vs Sora 2: AI Video Generation in 2025 🎬🤖 User Avatar 18 comments Day 6 - Slow days as a solo founder User Avatar 13 comments