Simon Willison has released datasette-maplibre 0.1a0, a new geospatial plugin for Datasette, his open-source tool for exploring and publishing data. Willison calls it “the first new Datasette geospatial plugin in quite a while.” It combines the MapLibre GL rendering library with OpenFreeMap, a free vector map server run by Zsolt Ero. Willison says he built most of it with one prompt to Claude Fable 5.2.
The plugin is worth a look for two reasons. Datasette users get modern maps, and the build itself shows how far a single, well-scoped prompt to a coding model can go.
What datasette-maplibre does
The plugin merges two older Datasette plugins and adds a few features of its own. Here’s what stands out.
- Two plugins in one. The prompt asked Claude to combine the features of datasette-cluster-map and datasette-leaflet-geojson. The first plots latitude and longitude points on a map. The second renders GeoJSON shapes stored in database columns. Before, those were separate tools. Now one plugin handles both.
- Points and shapes on one map. Willison highlights a demo page that shows GeoJSON shapes and lat/lon points on the same map. If you’ve ever had to switch views to compare where things are with what areas they fall in, you’ll see why that’s useful.
- Lazy-loaded previews. This is Willison’s favorite feature. The plugin first shows lightweight SVG previews of GeoJSON shapes. It only loads a full WebGL map preview once a shape scrolls into view. On a table with hundreds of rows, that keeps the page from trying to start hundreds of map renderers at once.
- Free vector tiles, no API key. OpenFreeMap supplies the base map tiles at no cost. Many mapping setups need a commercial tile provider with an account and usage billing. Pairing MapLibre GL, the open-source fork of Mapbox GL JS, with OpenFreeMap keeps the whole stack free and open. Willison also encourages users to sponsor Zsolt Ero on GitHub, since a free tile server costs real money to run.
- A demo that runs in your browser. Willison had Claude build a full demo that works in the latest Datasette Lite. That version of Datasette runs entirely in the browser using Pyodide and WebAssembly. You can load the plugin and a demo database without installing anything.
How it was built
Willison shared the prompt, and it’s a good example of how to brief a coding agent. He pointed Claude at the two existing plugins and at an earlier OpenFreeMap demo HTML file of his. He then asked it to build a new plugin that “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 last instruction mattered. According to Willison, “Be creative and think outside the box” produced “a few neat ideas,” including the lazy-loading preview system. The model wasn’t only porting code. It also suggested features he hadn’t asked for.
What makes this work is the context. Claude had working reference code for both halves of the problem plus a demo of the target map stack. That’s very different from asking a model to build a mapping plugin from scratch. Giving the agent concrete examples to start from is still one of the most reliable ways to get usable output.
Availability and caveats
- Price: Free and open source, like the rest of the Datasette plugin ecosystem.
- Version: It’s 0.1a0, an alpha release. Expect rough edges and changes before a stable version.
- Try it: The Datasette Lite demo runs in the browser, so there’s no setup needed.
- Dependencies: Base maps come from OpenFreeMap, a free service run by one person. Production users should keep that in mind.
Why it matters
For Datasette users, this updates the project’s mapping tools to modern WebGL vector maps, which are smoother and scale better than older raster tile maps.
It’s also another data point in a trend Willison has documented closely: experienced developers shipping real, useful software mostly through AI coding agents. The skill that matters here isn’t typing code. It’s knowing which existing pieces to point the model at, then leaving it room to add ideas.
If the alpha holds up, expect the older map plugins to gradually give way to this one. Full details and the live demo links are in Simon Willison’s original post.