Softwr

Website Builders · head to head

Publii vs Stencil

Publii logo

Publii

Website Builders

Free open-source desktop CMS for building static websites offline

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

  • Publii is a free, open-source desktop CMS for Windows, macOS and Linux; Stencil is an open source toolchain.
  • Both are free.
  • Only Publii lists block, WYSIWYG and Markdown editors; only Stencil lists shadow DOM and slots support.
  • Where Publii falls short: no built-in hosting; you arrange and pay for your own.
  • Where Stencil falls short: aimed at component libraries, so routing and data fetching must come from elsewhere.

How do Publii and Stencil differ?

Publii and Stencil differ on platforms and category (Website Builders against Web Development). Only the attributes on which Publii and Stencil actually diverge.

Attributes where Publii and Stencil differ
AttributePubliiStencil
PlatformsWindows, macOS, LinuxWeb, Windows, macOS, Linux
CategoryWebsite BuildersWeb Development

Identical on both: starting price (Free), pricing model (Open-source), free tier (Yes).

Which features does each one have?

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

  • Block, WYSIWYG and Markdown editors
  • Offline editing
  • Multiple sites in one app
  • Static site generation
  • SEO tools and sitemaps
  • RSS and JSON feeds
  • WordPress content importer
  • Theme and plugin marketplace

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?

Publii is most often brought in for personal blogs and portfolios; Stencil for publishing a design system as Web Components. The jobs each tool is most often brought in to do.

Publii

  • Personal blogs and portfoliosnot Stencil
  • Documentation and small business sitesnot Stencil
  • Privacy-minded sites without trackersnot Stencil
  • Migrating a WordPress blog to staticnot Stencil
  • Free hosting on GitHub Pagesnot Stencil

Stencil

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

Where do Publii and Stencil fall short?

Publii's most cited limit: no built-in hosting; you arrange and pay for your own. Stencil's: 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.

Publii

  • No built-in hosting; you arrange and pay for your own
  • Static output needs third-party services for dynamic features
  • Premium themes and plugins in the marketplace cost extra
  • Desktop app only, so content lives on one computer

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

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

Publii

Free

No published plan breakdown. See the Publii review.

Stencil

Free

No published plan breakdown. See the Stencil review.

Which should you pick?

Choose Publii if

  • You need block, wysiwyg and markdown editors.
  • You want to start without paying.
  • You work on Windows, macOS, Linux.
  • You also want offline editing.

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 Publii or Stencil better?
It depends on the job. Publii fits personal blogs and portfolios; Stencil fits publishing a design system as Web Components. Publii starts at Free and Stencil at Free.
Which is cheaper, Publii or Stencil?
Publii starts at Free and Stencil at Free.
Does Publii or Stencil run on more platforms?
Publii runs on Windows, macOS, Linux. Stencil runs on Web, Windows, macOS, Linux.
Can I use Publii for free?
Both have a free tier, so you can try either at no cost before committing.
What is Publii best used for?
Publii is most often used for personal blogs and portfolios, documentation and small business sites, privacy-minded sites without trackers, migrating a wordpress blog to static. Of those, personal blogs and portfolios and documentation and small business sites are not what Stencil is typically brought in for.
What can Publii do that Stencil cannot?
Publii covers Block, WYSIWYG and Markdown editors, Offline editing, Multiple sites in one app, Static site generation. 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

Publii: Is Publii free?

Yes, the page calls it a free, open-source desktop CMS with no per-site fee for the application.

Source
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
Publii: Which systems does it support?

Windows, macOS and Linux.

Source
Stencil: Is Stencil free?

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

Source
Publii: Where can I host a Publii site?

On third parties such as GitHub Pages, Netlify and Amazon S3, as Publii has no cloud service of its own.

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