phoenix
phoenix copied to clipboard
[feat] In-Browser node sandbox
Describe the problem
We should be able to run node code in the browser using some node environment virtualization technologies. This will unlock new workflows specifically for students in learning/development.
Describe the solution you'd like
- Nodebox: https://github.com/codesandbox/nodebox-runtime , by codesandox looks promising, it just implements node js api spec in the browser instead of a full webasm port of node. incompatible with AGPL license, as it uses sustainable something licence which is not an OSS license
- WebContainers: https://webcontainers.io/ is closed source and built by stackblitz. we cant use this now.
Additional context
https://github.com/copy/v86/discussions/796#discussioncomment-5886475