An IDE for Every Language is an experiment in creating focused, language-specific coding environments in the browser. Python is included as an example IDE—a demonstration of the experience and architecture the project plans to build toward for many languages.
The current site includes:
- A project overview and contribution page
- A downloadable, single-file example Python IDE
- An offline Python runtime powered by Pyodide
The Python IDE is a proof of concept for the project. It demonstrates that a small, standalone IDE can run in the browser with an editor, console output, and basic file controls.
- Runs Python locally using WebAssembly
- Works offline once downloaded
- Includes Python's standard library
- Opens
.pyfiles from the device - Downloads or saves the current source file
- Captures output and Python exceptions
- Requires no account or server-side setup
This is an early example rather than a complete Python development environment. Third-party packages and APIs such as
turtleandpgzrunare not bundled yet.
- Node.js with npm
- A modern browser
npm install
npm run devVite will start the development server and print its local URL.
npm run build
npm run previewThe build command refreshes the bundled Pyodide assets and creates the site in dist/.
The postinstall, predev, and prebuild scripts run scripts/copy-runtime.js, which:
- Reads the Pyodide runtime from
node_modules/pyodide/ - Embeds the runtime, WASM module, and Python standard library into
standalone/template.html - Writes the finished file to
python-ide.htmlfor the GitHub Pages branch deployment andpublic/python-ide.htmlfor Vite builds. The root copy is intentionally committed so the download works on GitHub Pages without a build step.
You can regenerate it directly with:
npm run postinstallOpen python-ide.html directly in a browser to try the example offline. Commit the regenerated root file whenever the template or runtime changes.
npm testThe standalone test loads the generated HTML in a browser-like Node.js environment. It verifies that Python can start offline, run code, report errors, and run successfully again afterward.
index.html Landing page
src/ Landing-page assets and source
standalone/template.html Standalone example IDE template
scripts/copy-runtime.js Embeds Pyodide into the standalone HTML
scripts/test-standalone.cjs Offline standalone IDE test
python-ide.html Generated downloadable IDE, published from the repository root
public/python-ide.html Generated copy used by Vite
Contributions, language suggestions, and implementation ideas are welcome. The project aims to explore small, approachable IDE experiences that are easy to run offline in the browser.
Have an idea for another language or a suggested interaction model? Open an issue or submit a pull request.
GitHub Pages is configured to publish the repository root on main. The generated python-ide.html is committed so it is available to download there. Do not switch the Pages source to GitHub Actions without configuring a deployment workflow. The included workflow checks that the committed file matches its template and runtime.