Technology1 min read

Running the full server-side Datasette Python app in the browser with service workers and Pyodide

By · Published by Everything Blog

In short

The updated architecture intercepts HTTP requests via service workers, delivering an in-browser experience that mirrors a live server environment. Users can point the platform to open-CORS endpoints to inspect SQLite databases, CSV files, SQL scripts, and JSON data directly through custom URLs. The platform also enables dynamic installation of third-party plugins like datasette-maplibre and allows testing across more than 100 SQLite versions. Consequently, developers can distribute fully configured interactive data views and test work-in-progress code using simple fragment hashes.

Key points

  • The service worker implementation eliminates the need for standalone backend servers when…: The service worker implementation eliminates the need for standalone backend servers when running Datasette instances.
  • Embedded URL parameters enable the immediate sharing of live software bug reproductions a…: Embedded URL parameters enable the immediate sharing of live software bug reproductions and custom data views.
  • Developers can directly inspect remote data files including CSV, JSON, and SQLite formats…: Developers can directly inspect remote data files including CSV, JSON, and SQLite formats hosted on open-CORS endpoints.

Sources checked by our analysis pipeline: 1

17th November 2026

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.datasette.io:

- Load client-side Datasette to browse any SQLite database, JSON file, CSV file or SQL script

- Select a released version of Datasette to load from PyPI

- Load a specific commit, tag, or branch name from the Datasette GitHub repository

- Pick from over 100 versions of SQLite to use with Datasette

- Install additional Datasette plugins from PyPI or URLs to wheel files, including JavaScript visualization tools

The ability to load specific Datasette references, plugins, and SQLite versions makes this a fantastic tool for linking to demos of work-in-progress features or bug reproductions, without needing to spin up a full web server to serve that demo.

As an example, consider the following URL:

Follow that link and, after a…

Technology