Simon Willison

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

Read the original on Simon Willison →

Simon Willison presents Datasette Lite, a browser‑based rewrite of the Datasette Python app that runs via WebAssembly and Pyodide. Using a specially crafted URL on lite.datasette.io, users can load any SQLite database, JSON, CSV, or SQL script, choose specific Datasette releases, GitHub commits, or SQLite versions, and install plugins from PyPI or wheel URLs. The service‑worker‑enabled version closely mimics the server‑side app, enabling demos of features or bug reproductions without a web server.

Machine-generated by The Flow from the publisher's headline and feed description — not written or checked by a human. The full article lives at Simon Willison.

Simon Willison
Sep 16

datasette 1.0a40

The article announces the release of Datasette 1.0a40, which includes a security fix identical to that in version 0.65.5, new features such as the ability for plugins to launch and manage background tasks via the datasette.add_background_task() method, and a migration to httpx2 to support features like datasette.client.get(). The update also contains numerous bug fixes, many of which were addressed during a recent triage effort for the upcoming 1.0 stable release.

Simon Willison
Nov 15

datasette-apps 0.4a0

Datasette Apps are sandboxed HTML and JavaScript applications that run inside Datasette and can execute SQL queries against your data. The 0.4a0 release introduces support for linking via URL fragments, allowing apps to receive and use these fragments. It also reports supported URL schemes back to the Datasette Agent, enabling apps to link to each other—for example, one app can display record details while another searches records and links to those details.

Simon Willison
Sep 10

Any Nix package, live in your browser

Farid Zakaria’s trynix.dev lets users run any Nix package from the past 13 years inside a browser‑based x86_64 Linux VM powered by QEMU‑WASM. By providing URL‑addressable packages, a user can simply navigate to a link such as https://trynix.dev/?pkg=python3%403.6.2, click "Load," and obtain an interactive shell running that specific package. The platform is also integrated with GitHub Actions, enabling pull‑request reviews that launch the PR’s build directly in the browser via trynix-preview.

Simon Willison
2d ago

Muru

Muru Graham Dumpleton started mod_wsgi 20 years ago, and has been thinking about the ideal way to serve Python web applications in production ever since. Muru is his new, AI-assisted Rust server that aims to provide the best possible tools for running ASGI and WSGI Python apps both in development and production.

Simon Willison
Oct 12

web-edit 0.1a0

Simon Willison released web-edit 0.1a0, a Python web app that offers a web UI for viewing and editing files within a folder. The app was built using Codex Remote and GPT‑6 Astra Extra High, and it utilizes CodeMirror 6 for editing, chosen over Monaco for better mobile support. Designed to run over Tailscale, the tool allows the author to edit files directly from his phone without routing credentials through the LLM.

Simon Willison
Nov 4

datasette-apps 0.3a0

Release: datasette-apps 0.3a0 Datasette Apps adds support for hosting and editing custom HTML applications inside of Datasette. These can be created by hand, but it's easier to create them usi...