/run-wasm

Run WASM based code executions in the browser easily

Primary LanguageTypeScriptApache License 2.0Apache-2.0

run-wasm

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

gif

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-nextjs project.

  3. In the example-nextjs project, run yarn.

cd example-nextjs
yarn
  1. Run yarn dev

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

All Contributors ✨

Thanks goes to these wonderful people.


kennethcassel

💻

Nikolay Strikhar

💻

Callum McIntyre

💻

Bharat Patodi

💻

Joel P. Mugalu

📖