From PRISM app
to running binary.
Two commands take you from source to a live, self-contained app: build exports your PRISM app to a portable bundle, serve runs it from a 1.8 MB binary. No Node, no V8 cage, no platform.
# build your PRISM app to a self-contained bundle
bext-lite build ./app -o ./dist
# run it - 1.8 MB binary, no Node, no V8 required
bext-lite serve ./dist --port 8080Get the CLI
One static binary. Install it with cargo, or grab the release script.
# install the bext-lite CLI
cargo install bext-lite
# or grab the latest release binary
curl -fsSL https://lite.bext.dev/install.sh | shBuild, serve, develop, ship
Four steps from a PRISM source tree to a binary you can hand to anyone.
Build the bundle
AOT-export your PRISM app to a self-contained dist/: a
route-table manifest.json, a bundle per page that defines
__bextPrismRender, your API handlers, server actions, island
runtime and static assets. The output is sha256-identical to what the bext server emits.
bext-lite build ./app -o ./distServe it
Run the bundle from a 1.8 MB, v8-free binary with a hand-rolled HTTP/1.1 server: static assets, dynamic routes, 404s and ISR - single-tenant and fast. Cold renders land around 20 ms, warm ones in sub-millisecond. No Node, no V8.
bext-lite serve ./dist --port 8080Develop with hot-reload
Point the dev loop at your source tree. Edit a page.tsx,
a route.ts or an island and the change shows up instantly -
no rebuild step in the loop.
bext-lite dev ./appPackage for a target
Same source, same exported bundle - pick the shape that fits. Each target wraps the bundle in its own host: a static binary, a signed desktop installer, a QuickJS-on-WASM edge module, a fully-client browser build, a mobile app or an ARM board image.
bext-lite build ./app --target native # single static binary
bext-lite build ./app --target desktop # .dmg / .msi / .deb / AppImage, signed
bext-lite build ./app --target edge # QuickJS-on-WASM for Workers / Fastly
bext-lite build ./app --target browser # fully-client, offline-first
bext-lite build ./app --target mobile # iOS + Android
bext-lite build ./app --target aarch64 # IoT / embedded ARMWhat's in dist/
A flat, portable folder you can copy anywhere and serve. Nothing in it depends on a build tool.
The exported dist/ is sha256-identical to the bundles the
bext server produces for the same app. What you test locally is byte-for-byte what every
target ships.
One CLI, five commands
Everything bext-lite does, at a glance.
You're ready to ship
Start from a template or wire up your own app - then export once and run it on every target.