Softwr

APIs · head to head

Directus vs Starlight

Directus logo

Directus

APIs

Open-source data platform providing REST and GraphQL APIs

From
Free
Free plan
Yes
Starlight logo

Starlight

Documentation

Documentation site framework built on Astro that ships no JavaScript to the reader by default

From
Free
Free plan
Yes

The short version

  • Directus is an open-source data platform.
  • Starlight is free; Directus starts at $25/mo.
  • Only Directus lists REST API; only Starlight lists file based routing.
  • Where Directus falls short: the free Core tier is a hard limit of 3 seats, 25 collections and 5 flows.

How do Directus and Starlight differ?

Directus and Starlight differ on pricing model, platforms and category (APIs against Documentation). Only the attributes on which Directus and Starlight actually diverge.

Attributes where Directus and Starlight differ
AttributeDirectusStarlight
Pricing modelOpen-sourceOpen source, no licence fee
PlatformsAPI, Web, Self-hostedWeb, macOS, Windows, Linux
CategoryAPIsDocumentation

Identical on both: starting price (Free), free tier (Yes).

Not yet recorded: founded for Starlight.

Which features does each one have?

They share no listed features; 11 appear only for Directus and 7 only for Starlight. Drawn from each product's published feature list. An absence here means we hold no record of it - not that the product lacks it.

Only in Directus

  • REST API
  • GraphQL API
  • Database management
  • PostgreSQL
  • MySQL
  • SQLite
  • Webhooks
  • Node.js support

Only in Starlight

  • File based routing
  • Pagefind search
  • Internationalisation
  • Component overrides
  • Zero client JavaScript
  • Expressive Code blocks
  • Auto generated sidebar

What is each one used for?

Directus is most often brought in for running a self hosted headless CMS over a schema you already own. The jobs each tool is most often brought in to do.

Directus

  • Wrapping an existing SQL database in a REST and GraphQL API with an admin interfacenot Starlight
  • Running a self hosted headless CMS over a schema you already ownnot Starlight

Starlight

  • A developer tool whose docs live in the same repository as the code and are reviewed in the same pull requestnot Directus
  • A team that already runs Astro for its marketing site and wants one build pipeline for bothnot Directus
  • Documentation that must be served from a CDN or an air gapped static host with no search backendnot Directus
  • A multilingual open source project that needs per locale content trees and untranslated page fallbacknot Directus

Where do Directus and Starlight fall short?

Directus's most cited limit: the free Core tier is a hard limit of 3 seats, 25 collections and 5 flows. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.

Directus

  • Free permissive use of the self hosted product is limited to organisations under $5M annual revenue with fewer than 50 employees, so crossing either threshold turns a free dependency into a paid licence
  • The free Core tier is a hard limit of 3 seats, 25 collections and 5 flows
  • The Team plan is $499 a month billed annually, or $599 monthly, with extra seats at $50 each
  • Team caps collections at 50, expandable to 100, and flows at 20

Starlight

  • There is no editing interface, so every correction requires a git client, a Node install and a CI run, which puts documentation changes out of reach for anyone who does not already work in a repository
  • Starlight versions track Astro versions, so an Astro major release becomes a documentation site migration on someone else timeline rather than yours
  • Pagefind builds the whole search index at compile time, so build duration and index size grow with page count and large documentation sets pay for it on every deploy
  • There is no analytics, no feedback widget and no page level rating built in, so measuring which pages fail readers means wiring a third party script yourself
  • Component overrides are limited to the slots the theme exposes, and anything outside those slots means forking the theme and inheriting the merge burden on every upgrade

How much do Directus and Starlight cost?

Directus has a free plan, with paid plans from $25/mo; Starlight is free to use. Plan by plan below, from each vendor's own pricing page.

Directus

Free
  • CommunityFree
    • Self-hosted Directus
    • Community support
  • Cloud$25/mo
    • Managed cloud
    • Automatic updates
    • Backups

Starlight

Free
  • Open sourceFree
    • MIT licence
    • All features included
    • Self hosted on any static host

Which should you pick?

Choose Directus if

  • You need rest api.
  • You want to start without paying.
  • You work on API, Web, Self-hosted.
  • You also want graphql api.

Choose Starlight if

  • You need file based routing.
  • You want to start without paying.
  • You work on Web, macOS, Windows, Linux.
  • You also want pagefind search.

Questions people ask

Is Directus or Starlight better?
It depends on the job. Directus fits wrapping an existing SQL database in a REST and GraphQL API with an admin interface; Starlight fits a developer tool whose docs live in the same repository as the code and are reviewed in the same pull request. Directus starts at Free and Starlight at Free.
Which is cheaper, Directus or Starlight?
Directus starts at Free and Starlight at Free.
Does Directus or Starlight run on more platforms?
Directus runs on API, Web, Self-hosted. Starlight runs on Web, macOS, Windows, Linux.
Can I use Directus for free?
Both have a free tier, so you can try either at no cost before committing.
What is Directus best used for?
Directus is most often used for wrapping an existing sql database in a rest and graphql api with an admin interface, running a self hosted headless cms over a schema you already own. Of those, wrapping an existing sql database in a rest and graphql api with an admin interface and running a self hosted headless cms over a schema you already own are not what Starlight is typically brought in for.
What can Directus do that Starlight cannot?
Directus covers REST API, GraphQL API, Database management, PostgreSQL. Starlight covers File based routing, Pagefind search, Internationalisation, Component overrides.

Answered from the vendors’ own pages

Directus: What is Directus's pricing?

Directus Core is free and self-hosted. The Team tier costs $499/month (annual) or $599/month (rolling), including 10 user seats and cloud hosting at $99/month additional. Enterprise plans have custom pricing. Additional seats cost $50/month each.

Source
Starlight: Can a non technical writer publish a page without help?

No. There is no content management interface. Every change is a commit, a pull request and a build.

Directus: Can I use Directus for free?

Yes, Directus Core is completely free with 3 user seats, 25 Collections, 5 Flows, AI Assistant, and Advanced RBAC. Self-hosting is available at no cost.

Source
Starlight: Do I need to know Astro to use it?

Not for basic use. Markdown files and a config file are enough until you want custom components, at which point Astro knowledge becomes mandatory.

Directus: How many user seats does each Directus tier include?

Core includes 3 user seats, Team includes 10 SSO seats, and Enterprise includes custom SSO seat counts. Additional Team seats cost $50/seat per month.

Source
Starlight: Is search included or do I pay for it?

Included and free. Pagefind builds a static index at compile time. Algolia DocSearch is optional if you want hosted search instead.

Directus: What happens to my monthly Directus plan if I switch?

Monthly plans are grandfathered for six months after switching, and annual plans are honored until renewal. Self-hosted licenses are handled case-by-case at renewal.

Source
Starlight: What happens when Astro releases a major version?

Starlight follows it, and your site needs a migration. Read the upgrade guide before pinning a version for a long lived project.

Directus: Is there a free trial for Directus?

No trial period is mentioned. Users can start with the free Core tier immediately without a credit card.

Source
Starlight: Can I self host with no external services?

Yes. The output is static HTML, CSS and a search index. Nothing calls out at runtime unless you add it.

Share

Related pages

Other head to heads