static-cms/website/content/blog/netlify-cms-now-supports-gitlab-as-a-backend.md

3.8 KiB
Raw Blame History

title author description date
Netlify CMS now supports GitLab as a backend Benaiah Mischenko Netlify CMS, the open source, headless CMS that provides a user-friendly UI around your Git repository, can now be used with GitLab in addition to GitHub. 2018-06-13

Netlify CMS is releasing support for GitLab as a backend, creating the world's first completely open source stack for Git-based content editing.

We heard you (and you, and you, and you)! While you want to use Netlify CMS as the headless content management system for your Jamstack projects, all of your code lives in GitLab. Our long-term vision is to be tool-agnostic so you can use whatever tool helps you work best. But while you can already use Netlify CMS with most static site generators, backend support was limited to GitHub.

Immediately after the December release of Netlify CMS 1.0, contributors got to work on improving the API for backend integrations. At the urging of the community, we prioritized support for GitLab. With todays release of Netlify CMS 1.9.0, you can now use GitLab as the backend for Netlify CMS.

Adding support for GitLab means that millions more developers can now use Netlify CMS with their projects. Seriously — millions. GitLab is used by more than 100,000 organizations like Ticketmaster, Intel, Red Hat, and CERN.

How it works

Netlify CMS is an open source content management system for your Git workflow that enables you to provide editors with a friendly UI and intuitive workflow. You can use it with any static site generator to create faster, more flexible web projects. Content is stored in your GitLab repository alongside your code for easier versioning, multi-channel publishing, and the option to handle content updates directly in Git.

In case you want an even easier way to get started, or just want to poke around in the code, you can use the button below to automatically deploy a starter site that uses the Hugo static site generator along with Netlify CMS.

Deploy to Netlify

Lastly, one particularly exciting thing about using GitLab as your backend is that it doesnt require an authentication server. While the GitHub integration requires a hop to an authentication server (something Netlify provides for most users), GitLabs implicit auth flow allows you to connect directly from your browser to gitlab.com, or even to your own self-hosted GitLab server!

Whats next

Were already working toward Bitbucket support and will be releasing it as soon as possible! Were also focused on the upcoming release of Netlify CMS 2.0, which will bring new image handling features and improvements, and improved APIs for better CMS extensions. Were also looking for more ideas and helping hands, so if youre keen to build a smarter, safer, and more scalable CMS, wed love your contributions. Give us a shout on Twitter or in community chat if you have questions or ideas.