🧪 EXPERIMENTAL
Python läuft jetzt komplett im Browser
Simon Willison hat Datasette Lite umgebaut. Python ASGI-Apps laufen jetzt direkt im Browser — ohne Server, ohne Cloud, ohne Kompromisse.
Simon Willison hat Datasette Lite umgebaut. Python ASGI-Apps laufen jetzt direkt im Browser — ohne Server, ohne Cloud, ohne Kompromisse.
Was konkret passiert ist
Willison kombiniert Pyodide (Python in WebAssembly) mit einem Service Worker. Der Worker fängt HTTP-Requests ab und schickt sie an die Python-App im Browser. Ergebnis: Eine echte ASGI-Anwendung, die ohne Backend funktioniert.
So funktioniert der Trick
- Pyodide:** Python-Runtime kompiliert nach WebAssembly
- Service Worker:** Fängt alle Requests an die App ab
- ASGI-Bridge:** Übersetzt Browser-Requests in Python-ASGI-Calls
- HTML + JS:** Wird jetzt korrekt vom Browser geparst und ausgeführt
✅ Pro
- `
📬 Wöchentlicher KI-Newsletter — Die Top-5, montags um 8.