Softwr

Cloud · head to head

Dokku vs Stencil

Dokku logo

Dokku

Cloud

Single-server platform that accepts a git push and runs Heroku buildpacks on Docker

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.
  • Stencil is free; Dokku starts at $849 one-off.
  • Only Dokku lists git push deploy; 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 Dokku and Stencil differ?

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

Attributes where Dokku and Stencil differ
AttributeDokkuStencil
Pricing modelOpen source, no licence feeOpen-source
PlatformsLinux, Self-hosted, APIWeb, Windows, macOS, Linux
CategoryCloudWeb Development

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

Which features does each one have?

They share no listed features; 6 appear only for Dokku 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 Dokku

  • Git push deploy
  • Heroku buildpacks
  • Datastore plugins
  • Automatic certificates
  • Zero downtime deploys
  • Pluggable schedulers

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.

Dokku

  • Running a dozen side projects and client applications on one virtual private server with Heroku style deploymentnot Stencil
  • Moving off a managed platform when the monthly bill has grown faster than the traffic hasnot Stencil
  • A consultancy that wants buildpack deployments without teaching every client team Kubernetesnot Stencil
  • Keeping a legacy Procfile application alive on hardware you control after a managed platform deprecates its stacknot Stencil

Stencil

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

Where do Dokku 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.

Dokku

  • One maintainer accounts for nearly all human commit activity and the project records roughly 10,500 US dollars of annual income on Open Collective, which is not enough to fund a maintainer, so continuity rests on one person continuing to volunteer
  • Dokku Pro asks 849 US dollars for a lifetime licence from a project with no disclosed legal entity behind the promise and no published refund terms, while the product is still described as in development at early bird pricing
  • Dokku is single-server by design, and the k3s scheduler that provides multi-node support is missing log retrieval, process inspection and content-based health checks, with a post-run hook the documentation says does not consistently fire
  • Supported operating systems are limited to Ubuntu 22.04 or 24.04 and Debian 11 or later, so organisations standardised on Red Hat, Rocky or Alma Linux cannot run it on their approved base image
  • Backups are separate commands per datastore plugin that you schedule yourself, with no unified snapshot, no point-in-time recovery and no tested restore path, so verifying that a restore works is entirely your responsibility

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 Dokku and Stencil cost?

Dokku has a free plan, with paid plans from $849 one-off; Stencil is free to use. Plan by plan below, from each vendor's own pricing page.

Dokku

Free
  • DokkuFree
    • MIT licensed, no usage limits
    • Command line and SSH only
    • All datastore and certificate plugins
  • Dokku Pro$849 one-off
    • Lifetime licence with free upgrades and no subscription
    • Covers 1 production and 2 pre-production servers
    • Web dashboard and JSON REST API

Stencil

Free

No published plan breakdown. See the Stencil review.

Which should you pick?

Choose Dokku if

  • You need git push deploy.
  • You want to start without paying.
  • You work on Linux, Self-hosted, API.
  • You also want heroku buildpacks.

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 Dokku or Stencil better?
It depends on the job. Dokku fits running a dozen side projects and client applications on one virtual private server with Heroku style deployment; Stencil fits publishing a design system as Web Components. Dokku starts at Free and Stencil at Free.
Which is cheaper, Dokku or Stencil?
Dokku starts at Free and Stencil at Free.
Does Dokku or Stencil run on more platforms?
Dokku runs on Linux, Self-hosted, API. Stencil runs on Web, Windows, macOS, Linux.
Can I use Dokku for free?
Both have a free tier, so you can try either at no cost before committing.
What is Dokku best used for?
Dokku is most often used for running a dozen side projects and client applications on one virtual private server with heroku style deployment, moving off a managed platform when the monthly bill has grown faster than the traffic has, a consultancy that wants buildpack deployments without teaching every client team kubernetes, keeping a legacy procfile application alive on hardware you control after a managed platform deprecates its stack. Of those, running a dozen side projects and client applications on one virtual private server with heroku style deployment and moving off a managed platform when the monthly bill has grown faster than the traffic has are not what Stencil is typically brought in for.
What can Dokku do that Stencil cannot?
Dokku covers Git push deploy, Heroku buildpacks, Datastore plugins, Automatic certificates. 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

Dokku: Is Dokku still maintained?

Yes. Version 0.38.27 shipped in August 2026 with roughly six releases in the preceding two months. The caveat is that one maintainer writes nearly all of it.

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
Dokku: What does Dokku Pro give me over the free edition?

A web dashboard, a JSON REST API, git push over HTTPS, browser log tailing, team management and email support from the maintainers. It costs 849 US dollars once for one production and two pre-production servers.

Stencil: Is Stencil free?

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

Source
Dokku: Can Dokku run across multiple servers?

Only through the k3s or Nomad schedulers. The k3s path is missing several commands and health check types, and the older Kubernetes scheduler is deprecated and no longer developed.

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
Dokku: Will my Heroku application run on it unchanged?

Usually. Dokku runs the same buildpacks and reads a Procfile, so the application layer normally moves across. Add-ons, scaling behaviour and backups are the parts you have to rebuild.

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