Softwr

Developer Tools · head to head

Nixpacks vs Stencil

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
Stencil logo

Stencil

Web Development

MIT licensed toolchain for building reusable Web Component libraries in TypeScript

From
Free
Free plan
Yes

The short version

  • Stencil is an open source toolchain.
  • Both are free.
  • Only Nixpacks lists automatic language detection; only Stencil lists shadow DOM and slots support.
  • Where Stencil falls short: aimed at component libraries, so routing and data fetching must come from elsewhere.

How do Nixpacks and Stencil differ?

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

Attributes where Nixpacks and Stencil differ
AttributeNixpacksStencil
Pricing modelOpen source, no licence feeOpen-source
PlatformsLinux, macOS, API, Self-hostedWeb, Windows, macOS, Linux
CategoryDeveloper ToolsWeb Development

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

Which features does each one have?

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

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

Only in Stencil

  • Compiles TypeScript and JSX to Web Components
  • Shadow DOM and slots support
  • Output optimised for tree shaking and loading
  • Asynchronous rendering pipeline
  • Documentation generated from JSDoc comments
  • Dev server with hot reloading
  • Unit testing and code generation tooling
  • Integration guides for Angular, React and Vue

What is each one used for?

Stencil is most often brought in for publishing a design system as Web Components. The jobs each tool is most often brought in to do.

Nixpacks

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

Stencil

  • Publishing a design system as Web Componentsnot Nixpacks
  • Sharing UI components across React, Angular and Vue appsnot Nixpacks
  • Building framework independent widgetsnot Nixpacks
  • Generating documentation for component librariesnot Nixpacks
  • Building progressive web apps with Web Componentsnot Nixpacks

Where do Nixpacks and Stencil fall short?

Stencil's most cited limit: aimed at component libraries, so routing and data fetching must come from elsewhere. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.

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

Stencil

  • Aimed at component libraries, so routing and data fetching must come from elsewhere
  • Requires TypeScript and decorator conventions that differ from other frameworks
  • Web Component styling and form handling can need extra work in some host frameworks
  • Smaller ecosystem of third party components than the largest frameworks

How much do Nixpacks and Stencil cost?

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

Nixpacks

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

Stencil

Free

No published plan breakdown. See the Stencil review.

Which should you pick?

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.

Choose Stencil if

  • You need compiles typescript and jsx to web components.
  • You want to start without paying.
  • You work on Web, Windows, macOS, Linux.
  • You also want shadow dom and slots support.

Questions people ask

Is Nixpacks or Stencil better?
It depends on the job. Nixpacks fits understanding the build behaviour of a platform that adopted Nixpacks before it was frozen; Stencil fits publishing a design system as Web Components. Nixpacks starts at Free and Stencil at Free.
Which is cheaper, Nixpacks or Stencil?
Nixpacks starts at Free and Stencil at Free.
Does Nixpacks or Stencil run on more platforms?
Nixpacks runs on Linux, macOS, API, Self-hosted. Stencil runs on Web, Windows, macOS, Linux.
Can I use Nixpacks for free?
Both have a free tier, so you can try either at no cost before committing.
What is Nixpacks best used for?
Nixpacks is most often used for understanding the build behaviour of a platform that adopted nixpacks before it was frozen, producing container images from a polyglot monorepo where nobody wants to own several dockerfiles, reproducing an existing railway build locally while planning a migration to railpack, comparing what a nix based builder does differently from a buildpack before choosing a successor. Of those, understanding the build behaviour of a platform that adopted nixpacks before it was frozen and producing container images from a polyglot monorepo where nobody wants to own several dockerfiles are not what Stencil is typically brought in for.
What can Nixpacks do that Stencil cannot?
Nixpacks covers Automatic language detection, No Dockerfile required, Nix toolchains, Configuration escape hatches. Stencil covers Compiles TypeScript and JSX to Web Components, Shadow DOM and slots support, Output optimised for tree shaking and loading, Asynchronous rendering pipeline.

Answered from the vendors’ own pages

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.

Stencil: What does Stencil produce?

Stencil compiles components written in TypeScript and JSX into standard Web Components. These work in any major framework or without one.

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.

Stencil: Is Stencil free?

Yes. The project is released under the MIT licence according to both its website and its GitHub repository.

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.

Stencil: Who builds Stencil?

The README says Stencil is built by the Ionic team. The website describes it as an open source project by Ionic.

Source
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.

Stencil: Does Stencil work with React, Angular and Vue?

Yes. Components are plain Web Components, and the website provides integration guides for Angular, React and Vue.

Source
Share

Related pages

Other head to heads