How claudiobatistati/pyide works
This is a browser-based Python learning IDE. A learner edits a project, runs Python in a browser-hosted Pyodide interpreter, and views terminal output; the app also supports project-file management, local persistence, autocomplete, and downloading code. The sampled code shows the main runtime and file-explorer behavior. Some UI details are omitted from the excerpts, so edges are limited to relationships visible in the excerpts or source index.
Main entry points: App.tsx IDE Application · FileExplorer.tsx File Explorer · types.ts File Types · main.tsx React Entry
Components 16
Workspace UI
- IDE Application
src/App.tsx - File Explorer
src/components/FileExplorer.tsx - React Entry
src/main.tsx
Python Execution
- Pyodide Filesystem
src/App.tsx - Pyodide Runtime
src/App.tsx - Pyodide CDN
- Terminal I/O
src/App.tsx
Project Files
- File Types
src/types.ts - Project State
src/App.tsx - Browser Storage
Editing Tools
- Code Editor
src/App.tsx - Python Highlighting
src/App.tsx - Keyword Completion
src/App.tsx - Caret Coordinates
src/App.tsx - Code Download
src/App.tsx
Other components
- Learner
Connections 17
- Learner → IDE Application: uses
- React Entry → IDE Application: mounts
src/main.tsx - IDE Application → File Explorer: uses
src/App.tsx - IDE Application → File Types: imports
src/App.tsx - File Explorer → File Types: imports
src/components/FileExplorer.tsx - IDE Application → Browser Storage: loads and saves
src/App.tsx - IDE Application → Pyodide Filesystem: writes files
src/App.tsx - IDE Application → Pyodide Runtime: runs code
src/App.tsx - IDE Application → Pyodide CDN: loads runtime
src/App.tsx - Pyodide Runtime → Pyodide Filesystem: reads files
src/App.tsx - Pyodide Runtime → Terminal I/O: emits output
src/App.tsx - IDE Application → Terminal I/O: shows output
src/App.tsx - IDE Application → Code Editor: renders editor
src/App.tsx - IDE Application → Python Highlighting: highlights Python
src/App.tsx - IDE Application → Keyword Completion: suggests keywords
src/App.tsx - IDE Application → Caret Coordinates: gets coordinates
src/App.tsx - IDE Application → Code Download: downloads code
src/App.tsx