DEV Community

Cover image for Compiling SaaS as executable binary.
Hugo Duprez
Hugo Duprez

Posted on

Compiling SaaS as executable binary.

Hey folks,

I've always wanted a way to bundle entire SaaS apps into a single executable to ship self-hostable commercial software. Most of SaaS shipped today could just be a single binary you buy, own, and self-host.

Today, I've decided to open source my way of doing it, using Bun compile and custom builds for SvelteKit (first class support), React TanStack (experimental), and Nuxt (experimental).

This thing can be used to sell commercial self-hostable software, but also to distribute open source apps that requires 0 runtime dependencies to run it: no Node, no Docker, just run the executable, and open your browser on localhost :)

Let me know your thoughts!

Top comments (0)