Open aleksandrlat opened 3 years ago
i made some progress in https://github.com/milahu/browsix
i tried to use web-components, but they never render,
window.customElements.get("browsix-terminal")
always returns undefined.
now im using solidjs and it just works. much easier for debugging
todo: compile *.ts "binaries" in src/bin/ with target=node mount binaries as network-filesystem (browserfs XmlHttpRequest) maybe port binaries to latest node version (node 6 to node 19) make the shell work add more binaries: npm, pnpm, vite, ... start a devserver, show result in iframe add some IDE: codesandbox, vscode, alm, webmaker ... should integrate with git add some SVG editor: boxy svg, ... maybe implement a copy-on-write filesystem (btrfs on indexeddb) make it self-hosted = app can modify its own code, allow rollback to old versions
ultimate goal: create an open-source version of https://github.com/stackblitz/webcontainer-core
@milahu hey sounds like a worthy and unfilled objective. I have been r&ding this problem for quite a while or at least surveying the solutions ie using etc and smoke by Sinclair on here. Let me know if you want to collab and continue your efforts
Is there an active fork or alternative?