Datasette Lite rewrite runs the full Datasette app in the browser
Original title: Running the full server-side Datasette Python app in the browser with service workers and Pyodide
A crafted URL can load SQLite, JSON, CSV or SQL, choose a Datasette build, and pick among more than 100 SQLite versions.
Simon Willison released a complete rewrite of Datasette Lite, his browser port of the Datasette Python application using WebAssembly and Pyodide. Service workers make the client-side app nearly indistinguishable from the server-side application. Users can load databases and files, select a PyPI release or a GitHub commit, tag or branch, choose a SQLite version, and install additional Datasette plugins.
- The rewrite is available at lite.datasette.io.
- Users can load a released Datasette version from PyPI.
- A specific GitHub commit, tag or branch can be loaded.
- More than 100 SQLite versions can be selected.
From the original article
Datasette Lite is my port of the Datasette Python application to run directly in the browser using WebAssembly and Pyodide . I've released a complete rewrite of Datasette Lite using service workers, and it's now almost indistinguishable from the real server-side application. You can now do all of the following, using a carefully crafted URL to lite.
simonwillison.net
A short excerpt; the article and its images belong to the publisher. Summary, key facts and assessment above are AI-written from the article and can be wrong.