Posted by Technolithic 5 days ago
A couple of interesting observations while building it:
Yesterday the dataset had ~600 stations. Today it’s reporting 6,666 stations from the UK government feed, which is… a slightly ominous number, but according to the data and me asking an LLM, that’s close to full UK coverage already.
I deliberately went for a “pure speed” tech stack. Astro, no UI framework, just vanilla JS. Deployed on Cloudflare, with prices stored in D1.
I'm not using the API to load the data, I'm cleansing and then importing the CSV (which you can download for free) into the D1 database.
There’s also an /insights page with some aggregated stats that genuinely surprised me: https://petrolmate.co.uk/insights
Really nice to finally have an official, open dataset to build on. It already feels far more reliable than the old user-reported approaches, and it’ll be interesting to see how coverage and update frequency settles over the next few weeks.
Would love to hear feedback by the way. What is this missing to make it a genuinely useful tool?
Note, in brave on linux I can't see the map. Console has a lot of 401 on stadiamaps. But works great in chrome.
1. filter slider, decreasing on price, to see places closest to me disappearing 2. on the left panel, when I click on a low priced area, it should highlight it on the map, so I know where it is. The 'go to pump' button, I guess is good. but I'd only want to commit to gmaps if I already know that it's a reasonable place for me to. be going.
(no comments there yet though!)
But they also need a little WebUI for stations to manually update prices, since small stations won't have a programmer on staff to do this stuff.
I wouldn't look forward to having to do that every time I changed prices!
I wonder how many small independent stations are there these days? Almost every one I see is either in a supermarket, a big chain like Esso, or a smaller chain like Harvest.