WasmEdge

WasmEdge

A WebAssembly based Development Environment for any Node.js application

Created on 2nd June 2023

WasmEdge

WasmEdge

A WebAssembly based Development Environment for any Node.js application

The problem WasmEdge solves

We created a tool named WasmEdge which makes use of webcontainers. The advent of WebAssembly and new capabilities APIs made it seem possible to write a WebAssembly-based operating system powerful enough to run Node.js, entirely inside your browser, thus eliminating need for servers to run node.js applications.
Features include:

  • Faster than your local environment. Builds complete up to 20% faster and package installs complete >= 5x faster than yarn/npm.
  • Node.js debugging in-browser. Seamless integration with Chrome DevTools enables native back-end debugging, no installs or extensions required.
  • Secure by default. All code execution happens inside the browser’s security sandbox, not on remote VMs or local binaries.
  • Github Repositories can easily be cloned into the sandboxed browser environment and all dependencies can be installed and run without having to pollute your local file system with lot of unwanted node modules.

Challenges we ran into

  • Building filesystem for the wasm module was not documented much, we had to implement and find out what works and what does not,
  • Cloning git had to be implemented manually using git apis and manually fetching each file
  • Image parsing while git parsing was an issue, which was later fixed

Discussion

Builders also viewed

See more projects on Devfolio