
Famous last words:
tik atsiradus LEA domain names "well, how soon will someone make an automatic map to update according to the data here?"
the next day "well, close enough, 15 minutes, although it would not be useful for parents, because 15min i think "next to you" is within a 10 km radius, while Šiauliai is 20+ km away 😄"
in ten minutes "now wondering how stupid an idea it would be to do something with vibe coding (and how to do it) XD"
As I can already see from the subreddit, I’m not the only one who had this thought when I saw the news on Wednesday. Yesterday I shared on Mastodon, today I remembered that reddit is also there. As far as I can see, since I saw a completely different need for use in life than what most options offered in the past, like Kurohodas (which is now just an app, without the web), I looked at the solution a little differently.
Website: https://ltlukoziuzu.github.io/degaline-zemelapis/
Github repo: https://github.com/LtLukoziuzU/degaline-zemelapis
Key points:
- Yes, AI, I’ve used Claude Code CLI from A to Z, I don’t know much about AI anyway, but when you can’t do it yourself, you take what you can
- It was first made for desktop, but it is also mobile friendly
- Three ways to search for the cheapest gas stations, always selectable at a distance of 1-50 km according to the type of fuel: by location (if permission is given exactly, if not, roughly by IP); according to the selected gas station; by dropped point map
- The price defaults to diesel, but when looking for cheaper ones, you can choose the type of fuel – it is remembered for the future during sessions
- Possibility to save the search link with a button in the pop-up panel
- Virtually everything is stored in LocalStorage, with as little traffic as possible
- Everything hangs for free and publicly. I’m not thinking about a domain yet, I want to spend a penny on this one
- If you want to play with the data yourself, https://github.com/LtLukoziuzU/degaline-zemelapis/blob/main/data/stations.json
- During the LEA’s working hours, a cronjob runs regularly (it should be every 15 minutes, but Github delays) to take the data if the LEA submits it (on Friday it only submitted it at 1 pm. As I answered elsewhere: "As I understood, and what I saw today: LEA only has to receive until 10 am from all gas stations. When the LEA itself will file a case against the LEA itself, I did not find any restriction/order in a quick search. Today 13h appeared. By the way, LEA is closed on weekends (and it was written on the page that only on ‘weekdays’)")
- Coordinates "somewhat" fixed and cached to avoid breaking geocoding APIs:
Note: Since there are 725 gas stations at the time of writing this document, not all of them have been manually checked to see if they match the coordinates – photon.komoot.io is sometimes a bit wrong. The main errors have been corrected (13 addresses were not found in Lithuania, 10 simply failed, 33 were found, but not in that municipality at all, 1 Alauša cut a mushroom and LEAs claim that Vilnius is in Rokiškis municipality – for almost all of them, blame the gas station networks, how crookedly they write the addresses to themselves/LEAs, not according to the way all the maps expect), but for the sake of holy peace, we should go through them all. A tool has been developed to do this little by little, without interfering with the development and use of the website.
Feedback is very welcome, but I will probably fix it only on Thursday. Only 26% of the weekly limit is left, I reserve it for bugs and if LEA continues to work with its .xlsx
Posted by LtLukoziuz
3 Comments
Kaip ir neblogai, bet pasigedau kuro filtravimo arba aš jo tiesiog nematau… 😂 Atsidarius webapp’ą by default rodo dyzelio kainą, o kad pažiūrėti benzino kaina, tai ant taško reikia paspausti, kad matyti teikiamas kainas degalines.
P.S. suradau, biški kėbliai pasirinktas filtravimo budas 😅
Hehe, welcome to the club 😀
Pats dar neprisėdau adresų aptvarkyt, pas tave jau geriau atrodo.
Tik pastebėjau smagią naujieną: dabar nebe xlsx skelbia, o sharepoint nuorodas 😀 Seni xlsx dar pasiekiami per URL, bet įdomu ar naujus dės.. Kitu atveju, biškį š išsivartyt.
Reiktu: pasižymi miestą, kurą -> kažkur šone widgetas su TOP5 nuo pigiausio?