Shipping Stories · [ 3 min read ]

Datasette's first new geospatial plugin in years arrives, built by one AI prompt

datasette-maplibre 0.1a0 pairs MapLibre GL with free OpenFreeMap tiles; Simon Willison says most of it came from a single Claude prompt, and he's publishing the transcript.

Key findings

  1. datasette-maplibre 0.1a0 is the first new Datasette geospatial plugin in a long time
  2. Simon Willison built most of it with a single prompt to Claude Fable 5.2
  3. It combines MapLibre GL with OpenFreeMap, a free vector map server run by Zsolt Ero
  4. SVG previews of GeoJSON shapes load WebGL only when shapes scroll into view
  5. The demo maps 171 rows — 52 Africa, 45 Asia, 39 Europe — and runs in-browser via Pyodide
Simon Willison ships datasette-maplibre 0.1a0, built with one Claude prompt
geralt / pixabay

Datasette has its first new geospatial plugin in a long time: datasette-maplibre 0.1a0, released on GitHub, and Simon Willison says he built most of it with a single prompt to Claude Fable 5.2.

The plugin combines MapLibre GL, the open-source WebGL mapping library, with OpenFreeMap, the free vector map server operated by Zsolt Ero. Willison is explicit about the economics of the latter: OpenFreeMap is free, someone pays the bills, and he directs readers to sponsor Ero on GitHub.

What did the prompt actually say?

Willison published the full prompt he gave Claude Fable 5.2:

"Look at datasette-cluster-map and datasette-leaflet-geojson plugins, then look at ~/dev/tools/openfreemap-demo.html - then build a brand new Datasette plugin that uses maplibreGL and openfreemap and combines the features of those other two plugins - but be creative and think outside the box for other useful features the plugin might have"

The instruction to "be creative and think outside the box" produced what Willison calls a few neat ideas. His favorite: the plugin renders lightweight SVG previews of GeoJSON shapes, then swaps in a full WebGL preview only when a shape scrolls into view. For a table of country boundaries, that distinction matters — an SVG outline costs almost nothing, while spinning up WebGL contexts for every row does not.

Can you try it without installing anything?

Yes. Willison also had Claude build a comprehensive demo that runs in the latest Datasette Lite, meaning the plugin and a demo database load entirely in the browser via Pyodide and WebAssembly. The demo link he published installs datasette-maplibre on the fly.

One demo page shows both GeoJSON shapes and latitude/longitude points on the same map: a world map of capitals and countries, colored by continent, with clustering enabled. The interface includes:

  • A "View" selector set to Clusters
  • A "Colour by" control set to continent
  • "Filter to this area" and "Download GeoJSON" buttons
  • A legend counting Africa (52), Asia (45), Europe (39), North America (16), South America (13) and Oceania (6) — 171 rows total, all on the map
  • A detail table with country, continent, capital_population, latitude, longitude and a small map thumbnail in the boundary column

Clicking a point in South America, for example, surfaces a popup for Caracas, Venezuela, with a capital population of 2,985,000 at latitude 10.502944, longitude -66.918983. The boundary column shows Afghanistan in the first table row, population of its capital Kabul at 3,277,000, outlined and shaded blue in its inline map thumbnail.

Why this release matters to practitioners

Two things stand out beyond the feature list. First, the release revives a plugin category — Datasette geospatial visualization — that had been quiet, and it does so on infrastructure that costs nothing to run: MapLibre GL JS on the client, OpenFreeMap tiles on the server, no API keys.

Second, the development method is the story. One prompt, referencing two existing plugins and a local demo file, produced a working 0.1a0 release with a browser-based demo. Willison's tag list for the post — generative-ai, llms, claude-mythos-fable — frames the release as much as an AI workflow data point as a geospatial one. For anyone shipping internal data tools with AI assistance, that is the pattern worth noting: point the model at working prior art, give it a hard dependency target, then let it improvise the extras.

The version number says 0.1a0, so treat it as an alpha. Willison is tagging it datasette-lite, openstreetmap and visualization, which tells you where he expects it to be used.

github.com (Original)

Price tags

Share this article:

More from Rebecca Stone

Rebecca Stone

Show full bio

News editor covering companies, deals and strategy in AI-coding movement at Vibe Coder.

13 articles

Adjacent departments

Next article »