> A SvelteKit adapter that compiles your app to one standalone binary with Bun. No node_modules to ship, built-in healthcheck for Docker.
> Source: https://orochibraru.com/svelte-smol/docs · Site index: https://orochibraru.com/llms.txt

# svelte-smol documentation

A SvelteKit adapter that compiles your app to one standalone binary with Bun. No node_modules to ship, built-in healthcheck for Docker.

The Markdown in [the project repo](https://github.com/orochibraru/svelte-smol/tree/main/docs) is the source of truth;
these pages are generated from it.

- [Svelte Smol Adapter](https://orochibraru.com/svelte-smol/docs/readme.md): A SvelteKit adapter that compiles your app into a single standalone executable with bun build --compile. No nodemodules, no JS files to ship, just one binary…
- [Getting Started](https://orochibraru.com/svelte-smol/docs/getting-started.md): Turn a SvelteKit app into a single standalone executable in a few minutes.
- [Adapter Options](https://orochibraru.com/svelte-smol/docs/options.md): These are merged in before the adapter's own fields (fetch, idleTimeout, maxRequestBodySize, hostname/port/unix, websocket), so they can add to the server but…
- [Environment Variables](https://orochibraru.com/svelte-smol/docs/env.md): Runtime settings are read from the environment when the executable starts — nothing is baked in at build time.
- [Deployment](https://orochibraru.com/svelte-smol/docs/deployment.md): Ship the whole build/ directory. With serveAssets: false, the executable alone is enough — a proxy or CDN serves client/ and prerendered/.
- [Health Check](https://orochibraru.com/svelte-smol/docs/health-check.md): With healthcheck on (the default) the build produces a second, tiny executable — build/healthcheck — and the server answers GET /health:
- [Reverse Proxy](https://orochibraru.com/svelte-smol/docs/reverse-proxy.md): Behind a proxy, the server sees the proxy's connection, not the browser's. Tell it where the real URL and client address come from.
- [Native Addons](https://orochibraru.com/svelte-smol/docs/native-addons.md): Pure-JS dependencies are still bundled into index.js. A native addon's require stays in the output and resolves from nodemodules at runtime, looked up from…
- [Architecture](https://orochibraru.com/svelte-smol/docs/architecture.md): 1. Writes client assets to out/client/ and prerendered pages to out/prerendered/ (compressing them if precompress is on). 2. Writes the SvelteKit server and a…
