A map of the Leinster Senior League football games I go to, plus the odd pre-season friendly and charity match. League of Ireland games already live in Momento, so this covers the games no app tracks.
Live: https://jaslloyd.github.io/groundhopping/ — or open index.html locally. No build step, no server.
- Games tab: every game, newest first. Click one to fly to the ground.
- Clubs tab: every club I've seen, with how many times. Click a club to filter the map to just its grounds and games.
- Grounds tab: every ground A–Z with the date I was last there, and how many games when I've been more than once. Click one to fly to it.
- Numbers tab: goals seen, how the results split between home wins, draws and away wins, which months I actually go, the grounds I keep going back to and the competitions I've seen. All of it worked out from the games, so it keeps itself up to date.
- Map pins: each ground wears the crest of the club I've most often watched host there, with a badge for the number of games once I've been more than once. A lot of these are council and school pitches that several clubs play out of, so the crest says who I saw at home rather than whose ground it is, and it re-works itself out of the games as I add them. Neutral venues — pre-season friendlies, the selection game — keep a plain numbered pin.
- Photos: games with photos show a thumbnail in the list and in the map popup. Tap it to see the photos full size; swipe or use the arrow keys when there's more than one.
- Share a tab: whichever tab is open is in the address bar, e.g.
?tab=grounds, and it combines with the two below. Games is where the page starts so it's left out, and a club link already says the Clubs tab. - Share a club: picking a club puts it in the address bar, e.g.
?club=Glenville FC. Opening that link goes straight to the club's filtered map. - Share a game: opening a game's photos puts the game in the address bar too, e.g.
?game=2026-10-24-belgard-athletic-vs-kinsealy-united. Opening that link flies to the ground and opens the photos. The id is the date and the title rather than a number, because I've been to two games on the same day and because a game's place in the list changes every time I add one. - On a phone: add it to the home screen and it opens full screen, with its own icon.
The photos I take at games are the source of truth. Each one gets a title (Home vs Away), a caption (Home vs Away – Ground, D Mon YYYY.) and keywords (Football plus both clubs) in Apple Photos, and the photo's GPS gives the ground.
- osxphotos finds photos taken near pitches and pulls local previews, so nothing has to download from iCloud.
- I look at a handful at a time and say who was playing; unknown opponents get
[TBC]. tools/tag.applescriptwrites the title, caption and keywords back to Photos, checking the location is untouched.- The tagged photos are grouped by ground into
data/grounds.js. A game's Photos keywords are split in two there:clubsis the teams that played (these drive the Clubs tab and need a crest), andtagsis everything else — the competition type, places, people. - Wide shots of the game go on the site:
tools/web-photo.swiftmakes a 1800px copy inphotos/and a 480px thumbnail inphotos/thumbs/, with all metadata removed (no GPS, time or camera details). Each game lists its files underphotos.
| Path | What it is |
|---|---|
index.html |
Page structure only |
css/styles.css |
All styling, light and dark mode |
js/app.js |
Map, the games, clubs, grounds and numbers tabs, and the club filter |
data/grounds.js |
Every ground with the games seen there — add new games here. A ground can set club to pick its pin crest, or null for a plain pin |
data/crests.js |
Club name → crest image |
crests/ |
Crest images |
photos/ |
Game photos (and photos/thumbs/), named <date>-<home>-<away>-<n>.jpg |
icons/ |
Favicon (SVG, with PNG fallbacks for older browsers) and the home-screen icons |
manifest.json |
Name, colours and icons for when it's added to a home screen |
tools/tag.applescript |
Writes title, caption and keywords to a photo |
tools/web-photo.swift |
Makes a metadata-free web copy of a photo: swift tools/web-photo.swift in.heic out.jpg [max-size] |
The data files are .js rather than .json so the page still works opened straight from disk (browsers block fetch on file://).
- Map tiles © Esri. Map library: Leaflet.
- Club crests belong to their clubs. They come from Final Whistle, Wikipedia and club pages; clubs without one get an initials badge.
