Syncing

ivy.lu • Update Post Building for Longevity

Overview

2026-11-29

I realized my portfolio has probably been broken for a while. Oops. Here's how that happened and some extra thoughts on it.

Designed By Vyne

Building for Longevity

This morning, I woke up and realized that my website has probably been broken for the last... several months to a year to maybe even more than that. Oops. Here's how that happened:

When I first started developing this portfolio, I was on a pre-1.0 version of SvelteKit - so a load of stuff worked differently! I was deploying this site using SvelteKit's adapter-node, which spins up a node server to run the transpiled app - endpoints and all. I couldn't just SSR the whole thing because I was using SvelteKit's server functionality to host my catalog of work via API, and also had APIs for merch and some other things.

As development continued, I made improvements. I moved the catalog API to be embedded at build time (since nothing else particularly relies on it except Gantry, my GUI editor and RSS feed generator - but this can be substituted with a local import), and merch was discontinued and so no longer needed a serverside component. However, changing the build and deployment process wasn't necessarily a top priority, so I still relied on adapter-node to spin up a full node server.

With incremental upgrades to dependency versions, SvelteKit 1.0, 2.0, and now 3.0, syntax and behavior changes in Svelte itself as well as the addition of extra features on and surrounding my portfolio, things were probably opportune to get lost in the weeds. For example, I had migrated my portfolio off of a separate subdomain (work.ivy.direct, no longer active) directly onto the main domain - combining it with my redirect service I had up until then, exclusively run on it: for example, you can now view ivy.lu/github (a shorturl to redirect to my GitHub) as well as ivy.lu/project/direct (a page on my portfolio). This created a relative increase in configuration complexity.

At some point in all this, I realized that accessing a portfolio subpage link directly (e.g. anything except ivy.lu that is not handled by the redirect service) would time out and not work. The root of the trace here would be SvelteKit's serverside fetch when a project or update page dynamically fetches the markdown document to render (which formed some kind of networking loop inside the docker container it is hosted in). That's why the usage of adapter-node was a problem when it was no longer strictly needed. A static page build with SSR would avoid this fetch loop - so that's what I updated to.

This does lose some upsides, namely that without a dynamic runtime fetch of the README, any writeups here that rely on a third party source for the markdown file (e.g. those that pull automatically from a GitHub README) will no longer automatically update when the GitHub README is updated. Given that updating my GitHub READMEs doesn't happen too much more often than how often I'd rebuild my portfolio (where the files will still be fetched automatically), I suspect that this tradeoff will be minor and the more stable build and deployment pipeline will be well worth it.

Extrapolating to speak generally

A lot of discussion I see around software today is around building for scalability - with growth, more users, and greater demand, how can your product scale to meet expectations? How can you minimize the amount of work you need to put in for refactors, redesigns, or maintainance as you make additions or get more users? This is a reasonable problem to face, but one that I find is not very applicable to those who make projects as a hobby. I don't have VC funding, unlimited work-hours, nor a team or financial incentive to keep what I make going - a lot of my projects are documented nicely for others in case they're useful, but primarily my target audience is for myself - I'm not trying to grow the next startup (which would be very stressful). So, as I make more things, an important question comes up: how do I make these projects last?

As the number of projects I've created in the past increases, the maintainance burden of them increases. There are more security vulnerabilities to look out for, more dependencies to upgrade, and regular stuff that just breaks by accident like what I described above, and this is especially exacerbated in the era of the advanced and rapidly decreasing timelines with AI. This creates a strong incentive to engineer projects for durability and a minimized attack surface - not only a reduction in dependencies as well as simpler and more predictable behaviors, but also in the build process and deployment. I think that's one thing that a lot of people miss when they create things that quickly become abandonware (and something that I've missed as well with some of the larger, more complex projects I've created in the past that I've lost bandwidth to maintain actively).

A conclusion in progress: for new stuff, I'm giving a go at minimizing and standardizing my tech stack as much as possible while still retaining enough developer experience stuff to be delightful to work with. I'm also paying more attention to deployment processes, and trying to standardize those across my work as well. It's already way easier with the projects I've aligned to use similar methods, and I hope that would continue in the future, too.


signoff image

iv

ivy.lu · portfolio

About me & developing this website.

Project Page Designed By Vyne
SAL

Slop Ambiguity and Labeling

Products today feel like they are either slop, or not. How can we add a little extra nuance to that, and encourage more intentional work?

Previous Semi-coherent Ramblings

Overview

2026-11-29

I realized my portfolio has probably been broken for a while. Oops. Here's how that happened and some extra thoughts on it.

Designed By Vyne
no gen ai was used to write this
iv

ivy.lu · portfolio

About me & developing this website.

Project Page Designed By Vyne
SAL

Slop Ambiguity and Labeling

Products today feel like they are either slop, or not. How can we add a little extra nuance to that, and encourage more intentional work?

Previous Semi-coherent Ramblings