Datasette Lite rewritten with service workers to run full Datasette in browser
Start here
Simon Willison released a complete rewrite of Datasette Lite that uses service workers and Pyodide to run the full server-side Datasette Python application in the browser. Willison says the result is nearly indistinguishable from the real server application. The rewrite lets users load SQLite databases, JSON, CSV or SQL files, choose from over 100 SQLite versions via a ?sqlite= URL parameter, select Datasette releases from PyPI or GitHub commits, and install plugins from PyPI or wheel URLs by passing &install= repeatedly; those plugin URLs need open CORS headers. The original 2022 version relied on innerHTML injection, which broke JavaScript features. The new approach routes requests through session-prefixed URLs to a dedicated web worker per tab.
Generated from reports · updated 7 h ago
Report timeline
Follow the reports to see the event from different sides.
- Simon WillisonDatasette Lite rewritten with service workers runs full server-side Datasette Python app in the browser
Simon Willison released a complete rewrite of Datasette Lite that uses service workers and Pyodide to run the full server-side Datasette Python app in the browser, making it nearly indistinguishable from the real server application. The rewrite lets users load any SQLite database, JSON, CSV or SQL file, pick from over 100 SQLite versions, select Datasette releases from PyPI or GitHub commits, and install plugins from PyPI or wheel URLs. The original 2022 version relied on innerHTML injection, which broke JavaScript features; the service worker approach routes requests through session-prefixed URLs to a dedicated web worker per tab.
Heat for this event
- Current, comparable range
- 8
- Peak, comparable range
- 10November 18 02:00
- Change in 24 hours
- –
The trend compares the same participants over hours observed continuously, so its range can be narrower than the current heat count. Hover or tap the chart for hourly heat; the arrow keys move through it.