Oh my. I think I've just hit a new revelation for a software architecture that should be a lot more servicable, stateless, and more practical to host with just static files, and possibly still be able to do federation (through a second layer atop, for converting NDJSON streams and ID references, into standard ActivityPub objects/collections).
I was working on a sideproject of a web-based yt-dlp frontend (and media platform), but may be able to 'kill two birds with one stone' with the idea.
Time to throw almost everything out again and see if this one sticks.