Launched this week

nano-rs
Edge runtime: JS workers + Linux-in-WASM containers
6 followers
Edge runtime: JS workers + Linux-in-WASM containers
6 followers
nano-rs is a multi-tenant edge runtime written in Rust and basd on V8. It runs JavaScript workers (native or WinterTC), and with the wasm-vm worker boot a real Linux guest compiled to WebAssembly inside a V8 isolate inspired and dependent on unkernel. it works for sandboxes, edge workers and even can serve a container like nginx over HTTP via vm.fetch, with no KVM and no Docker at run time.



Free
Launch Team

AWS Startup AdvisorPersonalized AWS guidance that meets you where youβre already building
Promoted
nano-rs is a multi-tenant JavaScript edge runtime written in Rust and based on V8 isolates. I've been building it initially to run local workers based on the WinterTC specification but it outgrew this idea, and implemented polyfills and different APIs including VFS and others.
After seeing https://unkernel.dev/ I got inspired to have a headless wasm linux vm. The new piece is the wasm-vm worker: it boots an unkernel guest β a real Linux kernel compiled to WebAssembly β inside a V8 isolate and serves it over HTTP.
You can create an image from an arm64 OCI image like nginx:alpine, point a manifest at it, and nano-rs boots the container and reaches its HTTP server over vsock via vm.fetch β no KVM, no Docker at run time. JavaScript workers and Linux containers run side by side in one process, with portable bundles and zero-downtime hot-swap.
Open source β feedback welcome.
@gleiconΒ this is really cool! I'll play around with it! Thanks!
The wasm-vm worker is the part that got me β a real Linux kernel in a V8 isolate, no KVM or Docker at runtime, and JS workers sitting next to containers in one process. Curious how far the OCI image support goes in practice β is nginx:alpine the sweet spot, or do heavier images hold up too?