parkrun + Spoons
A page that pairs parkruns with the nearest Wetherspoon for a post-run breakfast. A public finder for anyone, plus a private version that tracks the ones we've done.
- Astro
- TypeScript
- Cloudflare Workers
- Cloudflare D1
- OpenStreetMap
- MapLibre
My partner and I keep two lists going: parkruns we’ve done, and Wetherspoons we’ve been to. A parkrun is at 9am on a Saturday and a Spoons is open for breakfast straight afterwards, so the obvious move is to tick off one of each on the same morning. Working out which pair to go for meant flicking between maps. So I built a page that does it, and then a public version so anyone can use it.
The screenshots below use made-up data and a made-up home location.
The public finder
Anyone can use the finder. Type a postcode or town, or tap Use my location, pick how far you’d travel, and it lists the ten best parkrun + Spoons pairs. They’re ranked by the whole trip: the distance to the parkrun plus the walk to the pub. So a parkrun a bit further away with a Spoons next door can beat a closer one where the pub is a hike. Only parkruns with a Spoons within 2.5 km of the park are included, because nobody wants a long walk to breakfast after a 5k.


Above the list there’s a map of every parkrun in the UK, so you can explore without searching. Solid dots have a Spoons within 2.5 km, hollow ones don’t. Tap any parkrun, including one you’ve already done, and a card shows its three nearest Spoons however far away they are, with a dotted line to each. Once you’ve searched, the map zooms to your place and numbers the top ten to match the list.

It doesn’t know or show anything about which parkruns we’ve done. That stays in the private version below.
The private version
The page lives in the private, family-only part of this site. It looks at every UK parkrun neither of us has done, finds the nearest Spoons we haven’t visited to each one, and lists the ten with the shortest walk from the finish to the pub. Buttons along the top limit it to parkruns within 25, 50, 100 or 200 km of home, or anywhere in the country.


Above the list there’s a map of every parkrun in the UK. The ones we haven’t done are solid dots, the ones we have are hollow, and the list’s top ten are numbered. Tap any parkrun and the map zooms in to show the three nearest Spoons within 20 km, with a straight line to each, and a card with the names and distances. Pubs we’ve already been to are still shown but hollow, and labelled “been”.
That covers a gap in the list. The list only pairs each parkrun with its single nearest pub we haven’t done. On the map, if we’ve done a parkrun’s nearest Spoons, we can still see the next nearest ones and decide whether the drive is worth it.



Each parkrun and pub in the list also links to OpenStreetMap, so on a Friday night it’s quick to check where we’re heading and how long the drive is.
How it was built
The hard part wasn’t the code, it was the data.
Wetherspoons were easy. OpenStreetMap tags every Spoons with the same brand ID, so one query returns all of them (834 when I ran it). OpenStreetMap’s licence allows this as long as I credit it, which the page does.
parkruns are a stored list of locations that I update by hand every so often. The pages never contact parkrun.
The page itself is part of this website, running on Cloudflare Workers, with the data in Cloudflare D1 (a small SQLite database). A script loads the parkruns, the pubs and our done-lists into D1. The ranking is one small function: for each parkrun we haven’t done, find the closest pub we haven’t been to, then sort by that distance. It’s shared between the page and a command-line version I used to prove the idea first. That made checking easy: I ran both on the same data and the top ten matched exactly.
A few smaller decisions:
- Distances are straight lines. Walking routes would be more accurate, but for “is the pub round the corner or across town” a straight line is plenty.
- Typos can’t bring a parkrun back. We type our done-lists from memory, so the loader flags any name it can’t match instead of quietly ignoring it. Otherwise a misspelt parkrun would reappear as one we haven’t done.
- The map reuses my football stadium map’s setup: MapLibre drawing free OpenFreeMap tiles, switching between light and dark styles with the site. All 900 or so parkruns and 834 pubs are sent to the page, and the nearest three are worked out in the browser when you tap, so the server does no extra work.
- A card, not a popup. My first go used a popup hanging off the marker, but it covered any pub to the north of the parkrun. The details now sit in a card pinned to the top of the map, and the map zooms so the parkrun and its pubs fit in the space below it. Adding
?parkrun=and a parkrun’s short name (likewoodhousemoor) to the address opens the map with that one already picked, which is handy for sending someone a link. - Ticking off from the page writes straight to D1. A double tap is harmless, and the loader script that used to replace our done-lists now only adds to them. Otherwise the first reload would quietly bring back everything we’d ticked off. A mis-tap can be undone for a few seconds: each tick is stamped with its time, and Undo only removes rows carrying that exact stamp, so it can never take out a parkrun we’d done before.
- Pub names repeat. There’s more than one Moon Under Water, so a visited pub can be given with its town. A name without a town that matches several pubs rules all of them out, because suggesting a pub we’ve already been to is worse than missing one.
The public finder works differently from the private page. The pairs are worked out once when the site is built, from the same parkrun and pub lists but without our done-lists, and shipped with the page as a small file. The ranking then runs in your browser, so the site never finds out where you are. If you use your location it stays on your phone. A postcode or town is looked up by postcodes.io (or OpenStreetMap’s Nominatim for town names), and that’s the only thing that leaves your device. There’s no database and nothing is logged.
How to use it
For the public finder, either browse the map and tap any parkrun, or enter a postcode or town (or use your location), choose a distance, and pick a pair. Each parkrun and pub links to OpenStreetMap.
For the private page:
Open the page, pick a distance, and choose from the top ten. After the run and the breakfast, tap Done both on that card. The card disappears straight away and the map greys out the parkrun. If I’ve tapped the wrong one, an Undo pops up at the bottom for a few seconds and puts it all back. The next time the page loads, the next best pair moves up into the top ten.
Changelog
- 28/11/2026: Dropped the “are you sure?” question when ticking a pair off. Undo already covers a mis-tap, so it was just an extra tap every time.
- 28/11/2026: Added a map to the public finder, above the list. It shows every UK parkrun, tapping one shows its three nearest Spoons, and after a search the top ten are numbered to match the list.
- 28/11/2026: Added a public finder at /personal/parkrun-spoons. Type a postcode or town, or use your location, and it ranks parkruns by the trip there plus the walk to a Spoons within 2.5 km. It’s all worked out in your browser and doesn’t include our done-lists.
- 28/11/2026: Added Undo after ticking a pair off. It only removes the rows that exact tap added, so an old or repeated undo can’t wipe parkruns we’d already done.
- 28/11/2026: Added a Done both button to each pair, which ticks off the parkrun (for both of us) and the pub straight from the page, saved in D1. Reloading the original lists now only adds to what’s been ticked, so it can’t undo a tick from the page.
- 28/11/2026: Added a map of every UK parkrun. Tap one to see the three nearest Spoons within 20 km, including ones we’ve been to.
- 28/11/2026: First version: top ten parkrun + Spoons pairs with a distance-from-home filter.