Decap Cms screenshot

Decap Cms

Author Avatar Theme by Decaporg
Updated: 15 May 2025
18353 Stars

A Git-based CMS for Static Site Generators

Categories

Overview

Decap CMS is a content management system designed for static site generators. It provides a simple way for users to edit and add content to any site built with a static site generator. The CMS is a single-page app that can be easily integrated into the /admin part of a website. It offers a clean UI for editing content stored in a Git repository. Users can create new content or edit existing content after authentication.

Features

  • Static Site Generator Integration: Decap CMS seamlessly integrates with static site generators, allowing users to edit content without disrupting the existing structure of the website.
  • Git Repository Support: Content is stored in a Git repository, enabling easy version control and collaboration.
  • Customizable Layout: The CMS can be customized to fit the layout of your site, allowing for a seamless user experience.
  • User Authentication: Users are prompted to log in when accessing the /admin section, ensuring only authorized individuals can edit or add content.

Installation

Decap CMS can be installed in two different ways:

  1. Quick and Easy Install: This method requires creating a single HTML file and a configuration file. The CMS JavaScript and CSS are loaded from a CDN. To learn more, refer to the Quick Start Guide.
<!-- Include the CMS script tag in your HTML file -->
<script src="https://cdn.decacms.com/cms.js"></script>

<!-- Configure and initialize the CMS -->
<script>
  DecapCMS.init({
    // Add your configuration options here
  });
</script>
  1. Complete and Complex Install: This method offers more flexibility but requires a static site builder with npm package support. Follow the installation and configuration instructions in the documentation to set up the CMS with your site builder.

Summary

Decap CMS is a versatile content management system specifically designed for static site generators. It offers easy integration, Git repository support, customizable layout, and user authentication. The CMS can be installed quickly and easily using a provided HTML file and configuration or through a more complex installation process for maximum flexibility. It is maintained by PM & friends and is released under the MIT License. New contributors are always welcome to join the project.