News for hackers. Stuff that matters.
Re:WebContainers: Run Node.js natively in the browser by nynx on Thursday May 20, 2021 @01:42PM (#27224418)
Someday, I'd like to see Wasi-based webassembly containers. It'd be awesome to spin up a sandboxed shell with file access in a webpage.
Re:WebContainers: Run Node.js natively in the browser by ericmsimons on Thursday May 20, 2021 @02:31PM (#27225181)
You can actually do this with WebContainers today :) Try it out here: https://stackblitz.com/fork/node

Full WASI support in WebContainer is landing in the next 1-2 months.

Re:WebContainers: Run Node.js natively in the browser by gameswithgo on Thursday May 20, 2021 @01:44PM (#27224461)
why do you want to spin up a shell with file access in a webpage?
Re:WebContainers: Run Node.js natively in the browser by Spivak on Thursday May 20, 2021 @01:55PM (#27224607)
So you can open up your local project directory in your browser-based IDE and have it work like you expect.
Re:WebContainers: Run Node.js natively in the browser by nynx on Thursday May 20, 2021 @04:10PM (#27226510)
My wish was actually to be able to spin up a shell locally on a github repo that pulls stuff over lazily.