{
  "id": 20463004,
  "title": "Running the full server-side Datasette Python app in the browser with service workers and Pyodide",
  "url": "https://urgent.news/2026/11/17/running-the-full-server-side-datasette-python-app-in-the-browser-with",
  "topic": "tech",
  "section": "Tech",
  "published": "2026-11-17T16:48:33.000Z",
  "source": {
    "name": "Simon Willison",
    "slug": "simon-willison",
    "url": "https://simonwillison.net/2026/Nov/17/datasette-lite/"
  },
  "original_language": "en",
  "account": "Datasette Lite is a port of the Datasette Python application, now running directly in the browser using WebAssembly and Pyodide. A recent rewrite of Datasette Lite utilizes service workers, making it nearly equivalent to the server-side application. Users can access Datasette Lite at lite.datasette.io, where they can load specific Datasette references, plugins, and SQLite versions through a URL. This feature enables sharing demos of work-in-progress features or bug reproductions without the need for a separate web server.\n\nFollowing the link to lite.datasette.io, users are greeted with a page that displays the Datasette application running with the datasette-maplibre plugin. This plugin enables the loading of an SQLite database from a specified URL and the display of GeoJSON shapes as maps and table data. The URL arguments serve various purposes: &install=datasette-maplibre installs the plugin, &url=https://.../demo.db loads the SQLite database, &metadata=https://.../metadata.yml adds HTML descriptions to tables and the Datasette homepage, and #/demo/capitals_and_countries%23map=0/4.2/180&color=continent navigates to a specific location within Datasette.\n\nThis technique for building URL-addressable software with Pyodide Python environments was previously discussed in a blog post from last year. Datasette Lite has been utilized in the Datasette development process, and examples showcasing its functionality, such as a pagination bug fix, are available. The rewrite of Datasette Lite, which was initially launched as a joke in 2022, now employs a service worker-based approach for improved functionality and reliability.",
  "summary": "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…",
  "key_points": [],
  "editors_take": null,
  "illustration": null,
  "coverage": {
    "outlets": 1,
    "also_reported_by": []
  },
  "ai_generated": true,
  "disclaimer": "Summaries, key points and the editor’s take are written by software from other outlets’ reporting and may contain errors — always check the linked original."
}