Softwr

Web Development · head to head

esbuild vs Publii

esbuild logo

esbuild

Web Development

Extremely fast JavaScript bundler written in Go

From
Free
Free plan
Yes
Publii logo

Publii

Website Builders

Free open-source desktop CMS for building static websites offline

From
Free
Free plan
Yes

The short version

  • Publii is a free, open-source desktop CMS for Windows, macOS and Linux.
  • Both are free.
  • Only esbuild lists very fast builds; only Publii lists block, WYSIWYG and Markdown editors.
  • Where esbuild falls short: deliberately does not type-check TypeScript, only strips types, so tsc still runs separately.
  • Where Publii falls short: no built-in hosting; you arrange and pay for your own.

How do esbuild and Publii differ?

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

Attributes where esbuild and Publii differ
AttributeesbuildPublii
Pricing modelOpen source, no licence feeOpen-source
PlatformsLinux, macOS, WindowsWindows, macOS, Linux
CategoryWeb DevelopmentWebsite Builders

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

Which features does each one have?

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

  • Very fast builds
  • TypeScript support
  • Tree shaking and minification
  • Simple API

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

What is each one used for?

esbuild is most often brought in for build pipelines where bundle time is the bottleneck; Publii for personal blogs and portfolios. The jobs each tool is most often brought in to do.

esbuild

  • Build pipelines where bundle time is the bottlenecknot Publii
  • Libraries and tools needing a fast, embeddable bundlernot Publii
  • Replacing slower bundlers where the plugin ecosystem is not needednot Publii

Publii

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

Where do esbuild and Publii fall short?

esbuild's most cited limit: deliberately does not type-check TypeScript, only strips types, so tsc still runs separately. Publii's: no built-in hosting; you arrange and pay for your own. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.

esbuild

  • Deliberately does not type-check TypeScript, only strips types, so tsc still runs separately
  • Plugin API is far narrower than webpack or Rollup, and complex builds hit its limits
  • Code splitting support has historically lagged the more established bundlers
  • Frequently used indirectly through Vite, so direct use is a narrower need than the download numbers suggest
  • No type checking in the core; TypeScript projects must run tsc separately

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

How much do esbuild and Publii cost?

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

esbuild

Free
  • esbuildFree
    • Full functionality
    • Commercial use permitted
    • Community support

Publii

Free

No published plan breakdown. See the Publii review.

Which should you pick?

Choose esbuild if

  • You need very fast builds.
  • You want to start without paying.
  • You work on Linux, macOS, Windows.
  • You also want typescript support.

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.

Questions people ask

Is esbuild or Publii better?
It depends on the job. esbuild fits build pipelines where bundle time is the bottleneck; Publii fits personal blogs and portfolios. esbuild starts at Free and Publii at Free.
Which is cheaper, esbuild or Publii?
esbuild starts at Free and Publii at Free.
Does esbuild or Publii run on more platforms?
esbuild runs on Linux, macOS, Windows. Publii runs on Windows, macOS, Linux.
Can I use esbuild for free?
Both have a free tier, so you can try either at no cost before committing.
What is esbuild best used for?
esbuild is most often used for build pipelines where bundle time is the bottleneck, libraries and tools needing a fast, embeddable bundler, replacing slower bundlers where the plugin ecosystem is not needed. Of those, build pipelines where bundle time is the bottleneck and libraries and tools needing a fast, embeddable bundler are not what Publii is typically brought in for.
What can esbuild do that Publii cannot?
esbuild covers Very fast builds, TypeScript support, Tree shaking and minification, Simple API. Publii covers Block, WYSIWYG and Markdown editors, Offline editing, Multiple sites in one app, Static site generation.

Answered from the vendors’ own pages

esbuild: Is esbuild free?

Yes, open source under the MIT licence.

Publii: Is Publii free?

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

Source
esbuild: Does esbuild type-check TypeScript?

No. It strips types for speed and does not check them. Run tsc separately if you need type checking.

Publii: Which systems does it support?

Windows, macOS and Linux.

Source
esbuild: Do I need esbuild if I use Vite?

You already have it. Vite uses esbuild internally for dependency pre-bundling and transforms.

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
Share

Related pages

Other head to heads