I wish the answer wasn’t calibre + calibre-web.
I’ve tried several times to make Kavita work but it will take a lot of work to make it usable for epubs. It’s amazing for visual media to be fair.
Calibre is awful in almost every way, including the source code, but it’s still the best which is kind of depressing.
EDIT: Linuxservers has a nice container image that runs calibre in vnc and runs calibre-web at the same time so you can have it centrally available without a desktop involved.
https://en.m.wikipedia.org/wiki/Form_I-9