bharat-patodi / run-wasm

Run WASM based code executions in the browser easily

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

run-wasm

Run WASM based code executions in the browser easily

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 new component to be used inside the Slip authoring tool.

Development

After cloning to your local machine, you can run a few steps to work on this project.

Run yarn in the root directory.

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.

In the example project, run yarn

Run yarn start. You should see the component being at localhost:3000

About

Run WASM based code executions in the browser easily

License:Apache License 2.0


Languages

Language:TypeScript 54.4%Language:CSS 22.1%Language:HTML 15.8%Language:JavaScript 6.4%Language:Shell 1.2%