Softwr

Documentation · head to head

Nextra vs Nixpacks

Nextra logo

Nextra

Documentation

Next.js based site generator for documentation and blog sites

From
Free
Free plan
Yes
Nixpacks logo

Nixpacks

Developer Tools

Build system that turns a source directory into an OCI image, now in maintenance mode

From
Free
Free plan
Yes

The short version

  • Nextra is an MIT-licensed static site generator.
  • Both are free.
  • Only Nextra lists MDX content with components; only Nixpacks lists automatic language detection.
  • Where Nextra falls short: requires working knowledge of Next.js and React.

How do Nextra and Nixpacks differ?

Nextra and Nixpacks differ on pricing model, platforms and category (Documentation against Developer Tools). Only the attributes on which Nextra and Nixpacks actually diverge.

Attributes where Nextra and Nixpacks differ
AttributeNextraNixpacks
Pricing modelOpen-sourceOpen source, no licence fee
PlatformsWebLinux, macOS, API, Self-hosted
CategoryDocumentationDeveloper Tools

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

Which features does each one have?

They share no listed features; 8 appear only for Nextra and 5 only for Nixpacks. 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 Nextra

  • MDX content with components
  • Build-time syntax highlighting with Shiki
  • Pagefind full-text search
  • File-system routing
  • Internationalisation by locale folders
  • Docs and Blog themes
  • Dark mode and accessibility settings
  • Hybrid rendering with ISR

Only in Nixpacks

  • Automatic language detection
  • No Dockerfile required
  • Nix toolchains
  • Configuration escape hatches
  • Docker layer caching

What is each one used for?

Nextra is most often brought in for developer documentation sites. The jobs each tool is most often brought in to do.

Nextra

  • Developer documentation sitesnot Nixpacks
  • Project blogsnot Nixpacks
  • Multilingual docsnot Nixpacks
  • MDX based knowledge basesnot Nixpacks

Nixpacks

  • Understanding the build behaviour of a platform that adopted Nixpacks before it was frozennot Nextra
  • Producing container images from a polyglot monorepo where nobody wants to own several Dockerfilesnot Nextra
  • Reproducing an existing Railway build locally while planning a migration to Railpacknot Nextra
  • Comparing what a Nix based builder does differently from a buildpack before choosing a successornot Nextra

Where do Nextra and Nixpacks fall short?

Nextra's most cited limit: requires working knowledge of Next.js and React. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.

Nextra

  • Requires working knowledge of Next.js and React
  • No visual editor or hosted publishing workflow is provided
  • Upgrading from version 3 to 4 needs a migration following the guide
  • Tied to the Next.js ecosystem, so it does not suit other frameworks

Nixpacks

  • The project is in maintenance mode with no commits on the default branch since May 2026 and no release since October 2025, so support for new language versions arrives only if someone forks it
  • Build determinism is softer than it appears, because providers pin a nixpkgs archive commit and bumping that archive silently moves compiler and runtime versions underneath a build that looks unchanged
  • Caching is limited to Docker layers rather than a content addressed graph, so a small change early in the build invalidates everything after it, which is exactly the limitation Railpack was rewritten to fix
  • Images carry Nix store layers and come out larger than an equivalent tuned Dockerfile or buildpack output, which costs registry storage and slows cold pulls on scale-out
  • There is no specification, no vendor neutral governance and no third party provider ecosystem, so a single company was able to redirect strategy and leave every downstream user with a frozen build tool

How much do Nextra and Nixpacks cost?

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

Nextra

Free

No published plan breakdown. See the Nextra review.

Nixpacks

Free
  • NixpacksFree
    • MIT licensed, no usage limits
    • No commercial edition and no support contract
    • In maintenance mode, superseded by Railpack

Which should you pick?

Choose Nextra if

  • You need mdx content with components.
  • You want to start without paying.
  • You also want build-time syntax highlighting with shiki.

Choose Nixpacks if

  • You need automatic language detection.
  • You want to start without paying.
  • You work on Linux, macOS, API, Self-hosted.
  • You also want no dockerfile required.

Questions people ask

Is Nextra or Nixpacks better?
It depends on the job. Nextra fits developer documentation sites; Nixpacks fits understanding the build behaviour of a platform that adopted Nixpacks before it was frozen. Nextra starts at Free and Nixpacks at Free.
Which is cheaper, Nextra or Nixpacks?
Nextra starts at Free and Nixpacks at Free.
Does Nextra or Nixpacks run on more platforms?
Nextra runs on Web. Nixpacks runs on Linux, macOS, API, Self-hosted.
Can I use Nextra for free?
Both have a free tier, so you can try either at no cost before committing.
What is Nextra best used for?
Nextra is most often used for developer documentation sites, project blogs, multilingual docs, mdx based knowledge bases. Of those, developer documentation sites and project blogs are not what Nixpacks is typically brought in for.
What can Nextra do that Nixpacks cannot?
Nextra covers MDX content with components, Build-time syntax highlighting with Shiki, Pagefind full-text search, File-system routing. Nixpacks covers Automatic language detection, No Dockerfile required, Nix toolchains, Configuration escape hatches.

Answered from the vendors’ own pages

Nextra: What licence does Nextra use?

It is released under the MIT licence.

Source
Nixpacks: Should I start a new project on Nixpacks?

No. The documentation and README both say it is in maintenance mode and recommend Railpack. Choose Railpack, Cloud Native Buildpacks or a Dockerfile instead.

Nextra: How does search work?

Full-text search is indexed at build time using Pagefind, with no configuration needed.

Source
Nixpacks: Will my existing Nixpacks builds stop working?

Not immediately. Pinned nixpkgs archives keep resolving, so builds continue. What you lose is support for new runtime major versions and any fix for a provider bug.

Nextra: What themes are available?

Docs Theme, Blog Theme and Custom Theme.

Source
Nixpacks: What replaces it?

Railpack, also from Railway and also MIT licensed, rebuilt as a BuildKit custom frontend for finer grained caching and parallel steps.

Nixpacks: Is it still open source?

Yes, MIT, and the repository is not archived. Being open source does not help much when nobody is merging provider updates.

Share

Related pages

Other head to heads