Zhidaily AI · Intelligence · Daily
Zhidaily
Issue 19 · November 18, 2026 · Wed
Today's stories
19 stories · 4 companies
Home / November 18, 2026 / Datasette Lite Rewrite Runs Full Datasette App in the Browser
← Back
Release News Score62

Datasette Lite Rewrite Runs Full Datasette App in the Browser

In brief
Simon Willison has rewritten Datasette Lite so the full Datasette server app runs in a browser tab, letting anyone share a working demo as a single URL.
Simon Willison RSS · simonwillison.net
Nov 18 · 00:48 Read the original ↗
01Summary

Simon Willison released a complete rewrite of Datasette Lite, which runs the Datasette Python application entirely in the browser using WebAssembly and Pyodide (Python compiled to run in the browser). The new version uses a service worker (a script that intercepts page requests) to route requests under an /app/<session>/ prefix to a dedicated Datasette instance per tab, so features that depend on JavaScript and CSS now work, unlike the 2022 version that injected HTML into the page. A crafted URL to lite.datasette.io can load any SQLite, JSON, CSV or SQL file, pick a released Datasette version from PyPI or a specific GitHub commit, tag or branch, choose from over 100 SQLite versions, and install plugins from PyPI or wheel URLs. The main limitation is that data URLs need open CORS headers, which Willison works around by hosting files in GitHub Gists; the post gives no loading-time or memory figures. The tool is aimed at developers who want to link to demos of work-in-progress features or bug reproductions without running a web server.

02Background

Datasette Lite first appeared in 2022 as a browser port of the Datasette Python app, running it in a Web Worker via Pyodide. That version simulated requests and injected the resulting HTML into the page, so any feature relying on JavaScript — including plugins — failed to work. The rewrite replaces that shortcut with a service worker that intercepts real page and asset requests, which is why the browser version now behaves like the server-side app.

03Impact

Developers can now share a reproducible Datasette demo or bug report as a single link that pins the Datasette version, plugins and SQLite version, instead of asking reviewers to set up a server. Willison argues the same service-worker approach should work for almost any Python app, though databases other than SQLite, such as PostgreSQL or MySQL, remain an untested path in WebAssembly.