Softwr

APIs · head to head

KeystoneJS vs Starlight

KeystoneJS logo

KeystoneJS

APIs

Powerful Node.js headless CMS framework and API platform

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

  • KeystoneJS is a powerful, flexible headless CMS and API platform.
  • Both are free.
  • Only KeystoneJS lists REST API; only Starlight lists file based routing.
  • Where KeystoneJS falls short: database support is limited to PostgreSQL, MySQL and SQLite.

How do KeystoneJS and Starlight differ?

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

Attributes where KeystoneJS and Starlight differ
AttributeKeystoneJSStarlight
Pricing modelOpen-sourceOpen source, no licence fee
PlatformsAPI, 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; 9 appear only for KeystoneJS 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 KeystoneJS

  • REST API
  • GraphQL API
  • Admin interface
  • Node.js
  • Next.js
  • React
  • Databases
  • 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?

KeystoneJS is most often brought in for headless CMS implementation. The jobs each tool is most often brought in to do.

KeystoneJS

  • Headless CMS implementationnot Starlight
  • Content management systemsnot Starlight
  • Customizable API-driven applicationsnot Starlight

Starlight

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

Where do KeystoneJS and Starlight fall short?

KeystoneJS's most cited limit: database support is limited to PostgreSQL, MySQL and SQLite. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.

KeystoneJS

  • Database support is limited to PostgreSQL, MySQL and SQLite
  • Keystone 5 is a separate legacy product documented on a different site and is not covered by the Keystone 6 docs
  • Upgrading requires following a dedicated Migrate to 8.0.0 guide, so major versions are not drop-in
  • Free support is a community Slack; enterprise-grade consulting and support is a separate paid engagement with Thinkmill and no published price

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 KeystoneJS and Starlight cost?

KeystoneJS is free to use; Starlight is free to use. Plan by plan below, from each vendor's own pricing page.

KeystoneJS

Free
  • Open SourceFree
    • Full KeystoneJS
    • Community support

Starlight

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

Which should you pick?

Choose KeystoneJS if

  • You need rest api.
  • You want to start without paying.
  • You work on API, 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 KeystoneJS or Starlight better?
It depends on the job. KeystoneJS fits headless CMS implementation; Starlight fits a developer tool whose docs live in the same repository as the code and are reviewed in the same pull request. KeystoneJS starts at Free and Starlight at Free.
Which is cheaper, KeystoneJS or Starlight?
KeystoneJS starts at Free and Starlight at Free.
Does KeystoneJS or Starlight run on more platforms?
KeystoneJS runs on API, Self-hosted. Starlight runs on Web, macOS, Windows, Linux.
Can I use KeystoneJS for free?
Both have a free tier, so you can try either at no cost before committing.
What is KeystoneJS best used for?
KeystoneJS is most often used for headless cms implementation, content management systems, customizable api-driven applications. Of those, headless cms implementation and content management systems are not what Starlight is typically brought in for.
What can KeystoneJS do that Starlight cannot?
KeystoneJS covers REST API, GraphQL API, Admin interface, Node.js. Starlight covers File based routing, Pagefind search, Internationalisation, Component overrides.

Answered from the vendors’ own pages

KeystoneJS: Is KeystoneJS free?

Yes, KeystoneJS is free and open source with no licensing fees. Core platform has no lock-in and is contributed to by 250+ developers.

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.

KeystoneJS: What are hosting costs for KeystoneJS?

KeystoneJS is self-hosted and deployment-agnostic. Hosting costs depend on your chosen deployment platform (Vercel, AWS, Heroku, etc.) and infrastructure, not KeystoneJS itself.

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.

KeystoneJS: Does KeystoneJS offer paid support?

Enterprise support with tailored options is available from Thinkmill, the company behind KeystoneJS. Pricing details available upon request.

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.

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.

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