Install komga, populate it with content (tip: use komf to automatically scrape sites like manga updates for content similar to how Jellyfin scrapes thetvdb), install the komga extension in mihon, point it at your server, profit.
It can even sync read history between the server and device if you configure it as a tracker as well.
https://komga.org/docs/guides/mihon/
https://mihon.app/docs/guides/tracking#enhanced-services
The documentation isn’t super well done so you’ll have to make some leaps of faith but it’s pretty simple to figure out if you can figure out stuff like Jellyfin transcoding. The hardest part to set up is komf, which is optional (though it does make it look much nicer, like you’re browsing mangadex or whatever. Just make sure you don’t point komf at libraries with novels or western comic books or whatever bc it sucks at scraping those).
Also if you setup komf there’s a tampermonkey script that gives you gui control of the setting in the komga ui, very handy, but not strictly necessary


It works fine with whatever. Western comics, novels, textbooks, whatever you want. Komga supports epub/pdf/cbz/zip/cbr etc.
It only becomes a pain if you want to automatically scrape metadata. This isn’t directly supported in komga but there’s another project, komf, that directly interfaces with the komga api and will scrape metadata providers to populate. I have multiple libraries because as far as I know this really only gracefully works with manga. It can sometimes work okay with western comics via scraping gocomics but it’s a crapshoot and if your library is large it’s definitely not a good idea to let it cook. It has no support for fiction/nonfiction stuff like goodreads or whatever so I have those in yet another library. I don’t know of a metadata provider for textbooks (Amazon? Libgen? Wikipedia?) so yet another.
But manga works great. And metadata aside all my books work and I can read them from whatever device, ereader, phone, laptop, etc. komga itself has a built in reader so if it has a browser I’m good but mihon or whatever tachiyomi fork I can use (like Tachimanga for iOS devices, though that has iap to unlock stuff like tracking and no ads (though adblocking works), gross) is preferable