4 ms·
Awesome project! Dumb question: could you run this in frontend js using the browser's js engine and wasm environment similar to WebContainers? Maybe `fs` is ju
by willquack 6mo ago
Awesome project!
Dumb question: could you run this in frontend js using the browser's js engine and wasm environment similar to WebContainers? Maybe `fs` is just in-memory, and some things like forking are disabled. It'd be cool to have "nodejs" in the web!
- syrusakbary 6mo agoIt’s not a dumb question at all. And yes, it will allow running Node.js apps fully on the browser, in a way that’s more compatible than any other alternative! Stay tuned!
- moralestapia 6mo ago>in a way that’s more compatible than any other alternative I can see where that's going. Awesome. I want to msg. you on LinkedIn but can't.
- apignotti 6mo agoDo you have any specific test case that you would consider "very challenging" on the compatibility side? I'd be curious to check if BrowserPod can support that already.
- yuri91 6mo agoI work on a project that does exactly that (and more): https://browserpod.io/ https://browserpod.io/. Currently it supports Node, but we plan to add Python, Ruby, git, and more. You can see it in action in this demo: https://vitedemo.browserpod.io https://vitedemo.browserpod.io More info here: https://labs.leaningtech.com/blog/browserpod-10 https://labs.leaningtech.com/blog/browserpod-10 Ah and kudos to Syrus and his team for this release. Edge.js's architecture seems to have many similarities with BrowserPod. I see it as proof that we are both going in the right direction!
- syrusakbary 6mo agoThanks Yuri. Keep up the good work