Moving Scratch generation to Python on browser
4 months ago
- #programming
- #education
- #pyscript
- EktuPy is a tool designed to transition kids from Scratch to Python programming.
- Features a split interface with a code editor on the left and a Canvas/stage on the right.
- Built using PyScript, with support from Ruff and ty for LSP/linting in the editor.
- Runs entirely in the user's browser using webassembly.
- Includes tutorials for each example in the editor to help beginners start without reading documentation.
- Allows users to create accounts, save programs, and share them publicly for others to explore or remix.
- Implements synchronous calls like wait() or ask() for simplicity, with async/await handled automatically via AST transformation.
- Encourages community involvement for improvements, with plans to open-source the Django-based project.