A simple way to run WASM based code executions in the browser.
Screen.Recording.2021-09-17.at.2.10.57.PM.mov
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.
- Clone the run-WASM repository and
cd
into it
git clone git@github.com:slipHQ/run-wasm.git
cd run-wasm
-
Run
yarn
in the root directory.This will install all the dependencies defined in the package.json file
-
Run
yarn build
in the root directory.This will build the
run-wasm
package in thelib
folder and allow you to import it in theexample
project. -
In the
example
project, runyarn
.
cd example
yarn
-
Run
yarn start
🎉 You should be able to see the component at
localhost:3000