I was using the superb Marvin on iOS for my own content. Unfortunately the OPDS app for NextCloud doesn’t seem to work for a while now.
Have you checked out BicBucStriim? It’s a PHP based OPDS server that uses a Calibre library as its database. I’ve set it up on a Synology drive as that was most convenient, but it’ll run pretty much anywhere.