Simon Willison

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

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.

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...

Simon Willison
Oct 26

webframe: evaluated as a scraper and a sandbox

webframe is a Go‑based tool that runs a web page in a hidden headless browser and streams console output and errors to the terminal. It uses the glaze library to access native browser engines (WKWebView, WebKitGTK, WebView2) without bundling its own engine, making it lightweight compared to tools like Playwright. The author evaluated it as both a sandboxing solution and a web‑scraping utility, comparing it to his own shot‑scraper JavaScript tool.

Simon Willison
Nov 14

datasette-llm 0.1a11

The release of datasette-llm 0.1a11 introduces support for OpenAI‑compatible endpoints, allowing Datasette to use locally hosted LLMs such as those run with LM Studio, Ollama, or llama.cpp. Users can configure Datasette to connect to these models via a simple JSON configuration and run the server with uvx, enabling a local Datasette Agent powered by the chosen model. The update expands the plugin’s flexibility by enabling integration with any LLM that follows the OpenAI web protocol.

Simon Willison
Nov 15

datasette 1.0a43

The release of Datasette 1.0a43 marks 53% progress toward the 1.0 milestone, introducing streaming support for output renderers and new Response.stream() for plugins. It includes security fixes, a redesigned row page JSON, a copy-schema web component, pretty‑printed JSON columns, and a new DatasetteModal.confirm() utility. Additional enhancements feature CSS multi‑page view transitions that make navigation feel more like a single‑page application, supported in Safari and Chrome with Firefox support planned.

Simon Willison
Oct 31

datasette-llm 0.1a9

The release of datasette-llm 0.1a9 introduces a small user‑experience improvement: the plugin now automatically detects the default LLM model, eliminating the need for users to manually configure a default model when running Datasette Agent. This change simplifies the setup process for users who previously had to specify a model with the `-s plugins.datasette-agent.default_model` option.

Simon Willison
Oct 6

Using Parseable with Datasette for OpenTelemetry traces

The article describes how the author used Parseable, an observability platform, with Datasette to handle OpenTelemetry traces. Parseable offers an open‑source Rust implementation and an enterprise version, while Datasette 1.0a41 added OpenTelemetry support. The author demonstrates the setup and shows a screenshot of a Datasette trace displayed in Parseable’s local web interface.