Skip to content

Run WASM based code executions in the browser easily

License

Notifications You must be signed in to change notification settings

mcintyre94/run-wasm

 
 

Repository files navigation

run-wasm

A simple way to run WASM based code executions in the browser.

Screen.Recording.2021-09-17.at.2.10.57.PM.mov

Goal of the project

The goal of this project is to build an easy way to execute various programming languages in React via WebAssembly.

People should be able to use this project to embed executable code snippets on their websites easily!

We're building this as a new component to be used inside the Slip authoring tool.

Development Workflow

  1. Clone the run-WASM repository and cd into it
git clone git@github.com:slipHQ/run-wasm.git
cd run-wasm
  1. Run yarn in the root directory.

    This will install all the dependencies defined in the package.json file

  2. Run yarn build in the root directory.

    This will build the run-wasm package in the lib folder and allow you to import it in the example project.

  3. In the example project, run yarn.

cd example
yarn
  1. Run yarn start

    🎉 You should be able to see the component at localhost:3000

About

Run WASM based code executions in the browser easily

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 54.8%
  • CSS 21.7%
  • HTML 15.9%
  • JavaScript 6.4%
  • Shell 1.2%