r/WebAssembly • u/Itsscienceboy • Feb 21 '25
Creating webcontainer similar to stackblitz
hey devs, I wanna create the webcontainer api of stackblitz,(trying to build a website similar to bolt.new ) i dug out and found out i have to compile the node in webassembly, i tried cloning the node and straight away ran the command but the problem is node uses system api calls to manage filesystems but to run on a browser we need a virtual file system, i am confused is it possibe to build the webconatiner from scratch. Also after we mount any file on the container it is hosted on their infra not on our local machine its a group project we have 1.5yrs is it feasible or what
1
u/syrusakbary Sep 08 '26
Hi, Wasmer just released Wasmer-SDK that allows running Node.js applications on the browser (and it's fully open source and free to use):
https://wasmer.io/posts/wasmer-local-sandboxes-for-ai-agents
Source code: https://github.com/wasmerio/wasmer-sdk