Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/w-mai/runpyscriptinbrowserwithwasmlibcompiledbyrust

Run PyScript In Browser With Wasm Lib Compiled By Rust
https://github.com/w-mai/runpyscriptinbrowserwithwasmlibcompiledbyrust

Last synced: 26 days ago
JSON representation

Run PyScript In Browser With Wasm Lib Compiled By Rust

Awesome Lists containing this project

README

        

# Run PyScript In Browser With Wasm Lib Compiled By Rust

## 1. Install Rust

```bash
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
rustup target add wasm32-unknown-unknown
```

## 2. Build Wasm Lib

```bash
./build.sh
```

## 3. Run Server

```bash
cd web
python -m http.server
```

## 4. Open Browser

Open `http://localhost:8000` in browser, and you will see the result.