differently hacky idea:
since you do end up with all the packages in a repository on the filesystem, and you just want to have it do this just-in-time updating when the Packages file is accessed…
what if you list it as a normal file
apt source, but you make the Packages file a FIFO?
it’s a cursed idea but I’m not sure it is any less cursed than the other options we’ve come up with.
…
it may or may not help to have systemd.socket manage creating the FIFO and running the service.
uh, because TypeScript is an object-oriented language, as are the Deno APIs? I’m not sure I understand the question.