This is a small static site that lets you edit and run HTML, CSS, JavaScript, and simple Python (via Pyodide) in the browser. Perfect for sharing quick examples with friends.
Files
index.html— main editor and preview UIstyle.css— stylingrunner.js— client-side runner and share helpers
- Start a simple HTTP server from the repository root (recommended):
python3 -m http.server 8000- Open http://localhost:8000 in your browser.
Notes
- Use the mode selector to pick HTML/CSS/JS/Python.
- For Python, the first run will download Pyodide (WebAssembly) from a CDN — it may take a few seconds.
- Click "Share" to copy a link with the code encoded in the URL hash. Paste and share that URL with friends.
- Commit and push the repo to GitHub.
- In the repository settings, enable GitHub Pages from the
mainbranch (root). The site will be served athttps://<your-user>.github.io/<repo>/.
This project runs arbitrary JavaScript in an iframe; do not load untrusted external scripts. The Python support runs in Pyodide inside the browser sandbox.