Yea i know that background looks cool as shit. Let’s get started.
Where have i been
Short answer: I am a lazy whiny bitch, get off my ass Karen jeez.No the real reason is that i have been busy with other things. Also this blog is pretty much an empty void, just me typing things that no-one will ever read. So this is not a priority.
My project, the Lancia Thema is done, inspected and running (not really). I got plates on it in October and tookm them off again mid-December to save money on insurance and taxes. It will return again for the summer season.
I also sold the Mercedes, did not really feel like fixing it. But if you ever need financial advice, do not ask me. I bought that shit for $2300 and sold it for $1000… #downandtotheright
I currently have no new projects planned (other than getting the Lancia running again, as it stopped working as soon as i parked it).
Appwrite fucked itself
I have no clue what happened, but i tried upgrading my Appwrite instance and it broke. I can no longer access the admin panel without being met with a 500 server error and a log about database corruption.
So i made the dumb choice to completely abandon Appwrite and switched to a local postgressql database instead.
This site is now using Drizzle ORM aswell. It works quite well, as Appwrite has some weird quirks when fetching data from a +page.ts and the auth has not quite loaded fully yet. So sometimes it would load all documents in a collection while other times it would think you were not authenticated and only fetch the public documents. Weird shit, glad it is gone.
Some old unused features of this site have also been removed, because i could not be arsed to fix them when i (and others) were not even using them. So for now, say goodbye to the Wheel-Spinner, Fiat Marea Workshop manual viewer and Filebin. They may make a reapparance at some point, however unlikely.
New politi.bilfeber.dk site in svelte
The old bil.bilfeber.dk was a scraper i forked from github Montago/dmr-webservice, but this has stopped working since the old applet endpoints have been retired (or removed) i dont know, but a 403 error is all i could see. This endpoint is therefore now entirely dead and deprecated. Old flutter apps still using this endpoint will just fail, and i don’t really care.
So i made my own new scraper with a cache, this time built in sveltekit with Playwright for browser automation. Caching is done to a local postgresql database, none of that redis bullshit cos i am not that cool.
To reflect this new time scaping method i have also created a new dedicated politi.bilfber.dk using sveltekit and the experience is much better than the old flutter -> html method.
I also updated the dmr-lookup package to use this new endpoint.
The end
Alright so this post has been very boring, and i am not even gonna pretend like it is not.
So look at all these pretty pictures to keep your dopamine levels up;