Skip to content

europanite/client_side_python

CI Frontend Tests via Docker Deploy Expo Web to GitHub Pages

A Client-Side Browser-Based Python Playground.

"web_ui"

🚀 PlayGround

Client Side Python


🧰 How It Works

On first load, the app fetches Pyodide from CDN and exposes runPythonAsync to execute the code in the textbox. Output and errors are streamed to the in-page console. A soft “Stop” cancels by bumping an execution token.


🚀 Getting Started

1. Prerequisites

2. Build and start all services:

# set environment variables:
export REACT_NATIVE_PACKAGER_HOSTNAME=${YOUR_HOST}

# Build the image
docker compose build

# Run the container
docker compose up

3. Test:

docker compose \
-f docker-compose.test.yml up \
--build --exit-code-from \
frontend_test 

License

  • Apache License 2.0