03 / The runtime
Ajo Engine
A focused JavaScript runtime for sealed Ajo applications.
The compiler prepares the application before it reaches the server. The runtime then loads its sealed bytecode with a declared set of capabilities. Built on QuickJS-NG, it provides the HTTP, SQLite, crypto and fetch surfaces Kit uses.
Terminal
# Stage and seal the application.
pnpm exec kit build --compiler /path/to/ajo-toolchain/node_modules/.bin/ajo-engine-compiler
# Run it with the matching runtime.
NODE_ENV=production HOST=127.0.0.1 PORT=8080 APP_URL=http://localhost:8080 \
/path/to/ajo-toolchain/node_modules/.bin/ajo-engine dist/ajo01
A matching compiler and runtime pair
02
Precompiled bytecode with a closed module graph
03