Skip to content

A WASM WebVPython runner. This is a web server that serves the iframe in a WebVPython host application using the Pyodide WASM interpreter.

Notifications You must be signed in to change notification settings

UINDY-SWEN-200/wmWVPRunner

 
 

Repository files navigation

WASM WebVPython Runner

This is a WebVPython Runner that serves the iframe used by the WebVPython application.

You can test this locally with npm:

first:

npm install

then

npm run dev

You'll need to set a value for PUBLIC_TRUSTED_HOST in the .env file, e.g.:

PUBLIC_TRUSTED_HOST="http://localhost:8080"

There is a sample.env for your reference. you can: cp sample.env .env and then edit that .env file.

// adding functionality to the wasm to enable screenshot capturing

// Replace with your canvas ID

// Converts the canvas to an image

// Create a temporary link to trigger the download

// Name the download file

// Append the link to the body, click it, and then remove it

screnshot = async fnction()

About

A WASM WebVPython runner. This is a web server that serves the iframe in a WebVPython host application using the Pyodide WASM interpreter.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 90.0%
  • Svelte 6.4%
  • JavaScript 2.5%
  • Dockerfile 0.4%
  • HTML 0.3%
  • TypeScript 0.2%
  • Shell 0.2%