Headless CMS and data platform — wrap any SQL database with APIs.
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.
| Directus | Contentful | |
|---|---|---|
| License | BSL 1.1 (open source) | Proprietary |
| Models | Bring your own keys / local models | Vendor-locked models |
| Deployment | Self-hosted or cloud | SaaS only |
| Privacy | Data stays on your infrastructure | Processed by vendor |
| Cost | Free software + API usage | Subscription 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.
| License | BSL 1.1 |
| Stack | TypeScript, Node.js, Vue.js |
| Self-hosted | Yes |
| Cloud | directus.io |
| Database | Postgres, MySQL, SQLite |
npx directus init
Or connect to any existing SQL database.
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.
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.
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.
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.
Browse alternatives to Contentful for more open-source options, including tools compared to Sanity. Explore the full Developer Tools category for related projects.