What is Cockpit?
Before we start we have to clarify that: there are two Cockpit projects, one is for managing servers and the other Cockpit project is for creating a headless API system, which is our topic today.
The Cockpit CMS is an open-source self-hosted headless CMS "content management system" that is completely API-driven.
It uses SQLite or MongoDB as a database backend, and comes with a straightforward user-friendly interface. However, MongoDB is highly recommended in production.
- Easy to install, configure, and use
- Comes with a user-friendly responsive interface
- Built-in multi-user support
- Features collections, singletons, and forms
- User can install it using Docker
- Supports a dozen of useful field types
- It comes with a built-in support for webhooks
- API-end is secured by secure API tokens
- Requires minimal resources
- Supports image, and file attachments
- Does not require any restart after data structure changes
- Multilingual support
- It offers a rich command-line CLI tool
- Built-in import and export tools for database entries
- Uses SQLite or MongoDB
- Supports user groups
- User can set permissions per collection, singleton or forms
- One-file configuration
- Support email notification
- Email is configured through the email config file.
- User can configure the CORS using the config file.
- Rich user management API for collections, singletons, forms, user auth and more
As, We used Cockpit i few occasions, we highly recommend it for small projects.
Cockpit CMS is an open-source project released under the MIT License.