2026-11-15 · ← News
Datasette got maps from one prompt, but the plugin succeeds through careful limits
Simon Willison released the first alpha of datasette-maplibre, connecting Datasette to MapLibre GL and OpenFreeMap. Claude Fable 5.2 produced most of the code from one prompt, but the more useful lesson is how the plugin controls expensive WebGL maps.
The image could not be loaded.
Simon Willison released datasette-maplibre 0.1a0, a plugin for displaying coordinates and GeoJSON data in Datasette. It renders maps with MapLibre GL and uses OpenFreeMap for its default basemap.
One prompt combined two older plugins into a new mapping interface
The plugin brings together features from datasette-cluster-map and datasette-leaflet-geojson. It can place points and shapes on one map, switch between clusters, individual points and a heatmap, color features by a column and filter a table to the visible area. It requires Datasette 1.0a43 or later and bundles MapLibre GL JS 6.17.0.
Willison says he built most of the plugin with a single prompt to Claude Fable 5.2. That prompt pointed to two existing plugins and a local OpenFreeMap demo, so the model did not start from a blank page. The resulting demo runs entirely in the browser through Datasette Lite, Pyodide and WebAssembly.
The useful part is the map workflow, not the one-prompt anecdote
For Datasette users, combining points and GeoJSON shapes matters more than how the code was produced. The demo database includes 35,000 power plants, earthquakes, country boundaries and rivers. Its front page provides 19 links that walk through individual features.
The release also illustrates a practical pattern for coding agents. The rich prompt acted as a specification with concrete references, an existing interface and a working example. The speed came from both the model and the author's tight definition of the solution space.
A WebGL budget separates a usable tool from a polished demo
Each GeoJSON cell first receives a fast SVG preview. The interactive map loads only when it scrolls into view, and no more than 8 maps stay live at once. When a ninth is needed, the oldest offscreen map returns to a static preview. That directly addresses browser limits rather than merely decorating a demo.
Version 0.1a0 is still an alpha. Unless an administrator configures another style, map styles, tiles and fonts come from tiles.openfreemap.org. A deployment therefore needs to consider that external service, its availability and its own privacy requirements.
Future releases will test whether agent-written code remains maintainable
The meaningful signals will be bug fixes, compatibility with later Datasette versions and behavior on larger datasets. The repository already includes automated tests, including Playwright browser tests, so quality can be judged through regressions and fixes rather than the origin story of the first commit.
If the plugin survives routine maintenance and attracts users beyond the author's demo, that will say more about coding agents than the phrase single prompt ever could.
Lilith's verdict
One prompt can build the shop window. The eighth and ninth WebGL previews reveal whether anyone designed the store behind it.