BoxLang on Cloudflare Workers — run BoxLang WebSocket and HTTP applications at the edge with near-zero cold starts, Durable Object persistence, and automatic hibernation.
SkyBox compiles BoxLang .bx source files into WebAssembly and deploys them as Cloudflare Workers. The project builds on the MatchBox BoxLang runtime.
All deployed Cloudflare Workers must follow the naming convention: skybox-<app>
skybox-chatroom,skybox-todo,skybox-echo,skybox-counter- The
namefield inwrangler.tomlmust always begin withskybox- - The
box skybox initcommand automatically prependsskybox-when scaffolding new projects
# Build an example worker
cd crates/matchbox-cf-worker
bash examples/build.sh examples/todo examples/todo/sources/TodoListener.bx TodoApp
# Deploy
cd examples/todo
npx wrangler deploycrates/
matchbox-cf-worker/ # Rust crate + WASM adapter + example workers
cf-worker-builder/ # CLI to embed BoxLang bytecode into WASM
skybox-cli/ # CommandBox module for scaffolding/deploying
vendor/matchbox/ # MatchBox BoxLang runtime (submodule)
docs/ # Documentation site (Astro/Starlight)
echo, counter, chatroom, moonphase, romannumeral, jsonfmt, textanalyzer, todo
MIT