A simple way to run WASM based code executions in the browser.
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-nextjs
project. -
In the
example-nextjs
project, runyarn
.
cd example-nextjs
yarn
-
Run
yarn dev
🎉 You should be able to see the component at
localhost:3000
Thanks goes to these wonderful people.
kennethcassel 💻 |
Nikolay Strikhar 💻 |
Callum McIntyre 💻 |
Bharat Patodi 💻 |
Joel P. Mugalu 📖 |