MailSlurp publishes its blog and documentation using Markdown files and static site generators like NextJs and Docusaurus. This allows for the version control of content but means that new articles must be added using a git flow that is unfamiliar to most writers.

In order to allow content editors to more easily manage the content on a static site like and we explored the latest open source options in markdown content management systems.

What is our setup?

We have a content directory filled with type files containing markdown and frontmatter. During a build step in CI/CD the posts are rendered as HTML. New content must be added via a git pull request.

New requirements

We want a CMS that is:

  • open source, self-hosted
  • deployable on kubernetes or as static site
  • secure and supports SSO login
  • has draft post function
  • can create pull requests and branches
  • has media upload support
  • has good documentation

Markdown CMSs compared


Tina is a CMS with version control. It's open source.


  • Focus on many static site generators


  • Focus on Vercel hosting and Github
  • Documentation
  • Pushes paid version of tina cloud

2. Decap CMS

Formerly Netlify CMS, Decap is a popular offering with 16k GitHub stars at time of writing.


  • Static site deployment
  • Good open source contributions
  • Good docs
  • Bitbucket support is strong


  • ?

Integrated Decap CMS with NextJS

We use NextJs for our blog about email testing at MailSlurp. To integrate decap we can simply include a static HMTL file at :


To configure the connection between content and Bitbucket we include a file as a sibling to index at . This might look like this:

Dynamic approach

For more control we could instead render the config and admin page using NextJS pages in React.