jacobjzhang / run-wasm

Run WASM based code executions in the browser easily

Home Page:https://www.runwasm.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

πŸ“–

About

Run WASM based code executions in the browser easily

https://www.runwasm.com

License:Apache License 2.0


Languages

Language:TypeScript 75.9%Language:CSS 16.3%Language:JavaScript 6.6%Language:Shell 1.3%