Skip to content

origin-ayoub/py_compiler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Python Compiler in the Browser

A minimal, fast, zero-backend Python playground built with:

  • CodeMirror 6 for the editor
  • Pyodide to run Python directly in the browser
  • Pure frontend — no server, no API, no containers

Features

  • Syntax highlighting, autocompletion, bracket matching
  • Works fully offline after first load
  • Proper Python indentation behavior
  • Extremely lightweight architecture
  • No backend required

How It Works

The app combines three powerful pieces:

1) CodeMirror 6

Provides the code editor with Python language support and indentation rules.

2) Pyodide

Loads a full Python interpreter compiled to WebAssembly inside the browser.


Installation

npm install
npm start

Releases

No releases published

Packages

 
 
 

Contributors