Directus

Directus: Open Source Alternative to Contentful

Headless CMS and data platform — wrap any SQL database with APIs.

Open source alternative to:ContentfulSanity

Directus is an open-source alternative to Contentful, listed in our [Developer Tools](/categories/developer-tools) directory. Directus is a headless CMS and backend-as-a-service with 36k+ GitHub stars — a Strapi alternative wrapping any SQL database with APIs.

Compare Directus with Sanity before you choose your stack.

Key features

Database first

  • Works with existing SQL databases
  • No vendor lock-in
  • Real-time schema sync
  • Support for Postgres, MySQL, SQLite

Auto-generated APIs

  • REST and GraphQL
  • Filtering, sorting, pagination
  • Real-time subscriptions
  • Custom endpoints

No-code admin

  • Visual content management
  • Flow automation
  • Custom interfaces and layouts
  • Role-based permissions

Directus vs Contentful

DirectusContentful
LicenseBSL 1.1 (open source)Proprietary
ModelsBring your own keys / local modelsVendor-locked models
DeploymentSelf-hosted or cloudSaaS only
PrivacyData stays on your infrastructureProcessed by vendor
CostFree software + API usageSubscription pricing

Choose Directus if you want open-source code, self-hosting options, and full control over your data and deployment.

Choose Contentful if you prefer a managed proprietary product with vendor support and minimal setup.

Browse more open-source alternatives to Contentful, or explore other tools in Developer Tools.

At a glance

LicenseBSL 1.1
StackTypeScript, Node.js, Vue.js
Self-hostedYes
Clouddirectus.io
DatabasePostgres, MySQL, SQLite

Self-hosting

npx directus init

Or connect to any existing SQL database.

FAQ

Is Directus a free alternative to Contentful?

Yes. Directus is open source under BSL 1.1. You can self-host it at no software cost — you only pay for infrastructure or optional managed services.

How does Directus compare to Contentful?

Directus gives you source code access, self-hosting, and data ownership. Contentful is a proprietary product focused on managed convenience. See the comparison table above for a side-by-side breakdown.

Can I self-host Directus?

Yes. Directus supports self-hosted deployment, which is a core reason teams choose it over Contentful. Check the Getting started or Self-hosting section for install commands.

Is Directus suitable for production?

Directus is actively maintained with a strong open-source community. Many teams run it in production as a Developer Tools alternative to Contentful. Review the At a glance table for license and stack details.

What are alternatives to Directus and Contentful?

Browse alternatives to Contentful for more open-source options, including tools compared to Sanity. Explore the full Developer Tools category for related projects.

Screenshots

Directus screenshot 1

Tags

cmsheadlessdatabaseapi

Built with

TypeScriptNode.jsVue.jsPostgreSQL