making a dynamic blog
5th of January, 2025finally got my hands on making my blog dynamic, which means that i can post these entries from my dash and don't need to constantly upload new .html files! fancy, eh?
made it in Svelte and cloudflare. not sponsoring them or anything, but i do think they're both pretty cool. really struggled with getting my database connected, for some reason half of the requests to it end up failed? even though my logs show that the database responds correctly and everything. don't really know what to do with it, since it doesn't show literally anything about the error except that the website timed out. i'm not exactly a developer, but it might be because i'm on a free plan on cloudflare, which only gives 10ms of CPU execute time. since my website loads for a long time, it might be because of that, but i'm not exactly sure. i hope it isn't and the fetch failed errors have diminished lately.
in any case, this is my first, actual blog entry (and not some test entry that i constantly made during development). i hope that the server doesn't time out this time and this will actually follow through. i also added marked.js to the backend so now i can just write these posts in markdown and they automatically get converted into HTML. so cool, eh?
i think that pretty much covers everything. i will probably start working on a shoutbox or maybe a guest book later (custom made, of course). buh-bye.
back