Datasette Lite rewritten to run the full server app in the browser via service workers
A full rewrite of Datasette Lite on service workers and Pyodide runs the server-side Datasette app in the browser almost indistinguishably from the real thing. A single URL can pick a Datasette release or GitHub commit, one of 100+ SQLite versions, and…
Why it matters
It shows a practical pattern for serverless demos and bug reproductions of Python web apps via WebAssembly.
What happened
1 min readA full rewrite of Datasette Lite on service workers and Pyodide runs the server-side Datasette app in the browser almost indistinguishably from the real thing. A single URL can pick a Datasette release or GitHub commit, one of 100+ SQLite versions, and plugins from PyPI or wheel URLs.
Our analysis
This is not directly an AI story; it is a web and WebAssembly engineering achievement. The trick of running a full ASGI app inside a service worker is interesting for anyone who wants to share data tools or agent outputs without infrastructure. Worth trying for Python and data-tooling developers.