CMS

Self-hosted Contentful alternatives

2 open-source or source-available apps you can run on your own server instead of Contentful. The install method for each one is taken from its own docs.
Short answer: self-host Strapi or Directus instead of Contentful. The software is free to run and you pay for the server; source-available ones have limits in their license. Licenses checked 2026-10-01, install docs read 2026-11-30.
  1. 1
    Strapi

    Open-source headless CMS

    Headless CMS for Node.js; the Community Edition is free.

    Open source (MIT (core)) · ★ 73k · Node.js server

    Build with npm run build and start with npm run start; the server listens on port 1337. It supports PostgreSQL, MySQL, MariaDB or SQLite, and the docs suggest a process manager such as PM2 behind a reverse proxy. Install docs.

  2. 2
    Directus

    Headless CMS and data platform on top of any SQL database

    Data platform and headless CMS on any SQL database; check the license for commercial use.

    Source-available (MSCL-1.0-GPL) · ★ 38k · Docker Compose

    Run the directus/directus image; the example compose file adds PostgreSQL and Redis and sets a secret. The app listens on port 8055. Install docs.

All free Contentful alternatives. All self-hosted alternatives.

Open source: OSI-approved license. Free to self-host: the code is public and free to run yourself, with limits in the license. The install line is left out when I have not read it on the project's own docs.