NAS serves as an eBook Library, with two free containers holding ten years of books and comics

thorough cleaning, I sorted through the e-books and comics I had accumulated for over ten years. Without sorting, you wouldn't know: about three thousand books are scattered in three places—one on an old external hard drive, one on Baidu Netdisk, and a batch of PDFs lying in WeChat favorites; The comic is even more outrageous—over 180GB of CBZ compressed files, all saved up one by one from the past. Whenever I wanted to see something, I would spend ten minutes first looking for where the documents were. The NAS at home has been running for over two years, movies have Jellyfin manages, music is managed by Navidrome, photos are managed by albums, and books and comics are still living a wandering life. This time, I moved them all into the NAS, installed two free containers, one for books and one for comics, and used it for a month. Let me explain how they were installed and where the pitfalls were.
First, distinguish between books and comics
Think carefully before you act, otherwise you'll easily make a mistake later. Books and comics may seem like 'things to read,' but in reality, what you want is completely different.
What books need is shelf logic: arrange by author and title, search for them, view the cover wall, and ideally know which chapter you've read. Manga requires a page-turning logic: a work has dozens of volumes, arranged by volume number. When you see volume 38, page 120, you can flip through next time, and Japanese manga must be read from right to left. If you manage comics with the book's approach, or vice versa, both feel awkward.
So instead of looking for an 'all-round library,' I installed two separate ones: calibre-web for books, and Komga for comics. All are Docker containers, and the setup is the same as the previous Docker tricks—once you know one, you'll move on. Together, the two take up less than one Jellyfin's memory, so the N100 runs without any pressure.
Guanshu's calibre-web: stuck on the metadata.db for quite a while
Let's start with the book keeper. calibre-web is the web version of the well-established e-book management software Calibre; just pull the Docker mirror and it can run. There are just three parameters: port mapping 8083, the library directory is attached to /books in the container, and the configuration directory is listed to place the database.
The first pitfall hit me that very day: the container was opened, the webpage could open, but the bookshelf was empty, and the upload button was gray. After searching for a long time, I realized that calibre-web doesn't just accept it by throwing in a bunch of PDFs—it needs a database file generated by the Calibre desktop version in the library directory metadata.db. Without this file, the interface returns empty, and many people online have fallen for this.
The solution is simple: install a desktop version of Calibre on your computer, create a new empty library, copy the generated metadata.db separately to the NAS's book directory, restart the container, and the bookshelf will be active. Then, in the management interface, enable "Allow uploads," and FamilyMart can transfer books to them themselves. By the way, the first thing you do after entering is to change the default password. The initial account for this thing is the public admin/admin123. If you don't change it, you're basically leaving naked.
Once you enter the book, you can access the cover wall, search, and author categories. You can just open EPUB on the webpage and read it without downloading. Don't expect the old tutorial to "one-click scraping on Douban" anymore—Douban's interface was shut down long ago, and covers and author info are mostly manually added. Another truth: calibre-web has a feature to push books to Kindle, which is just for show on Chinese Kindle models—push delivery service stopped mid-2024. My Kindle still uses USB transfers or simply uses WeChat Reading Web version. I wrote both methods in The old Kindle is reused in that article.
Komga in charge of comics: The folder is the bookshelf
Komga is less hassle-free than calibre-web because you don't even have to worry about the database. The folder structure is like a bookshelf structure: each comic has a folder, and each CBZ file in the folder is a volume, automatically grouped into a "series," with volumes and progress counted for you.
Deployment also uses three standard parameters: the official Gotson/Komga for the image, /data for the comic directory, and /config for the configuration. There's a pitfall worth mentioning: the new Komga monitors port 25600 in the container, not the 8080 mentioned in common tutorials—I followed the tutorial from two years ago and entered 8080:8080, which turned blank, so I switched to 25600 and it was fine. Even copying tutorials means copying new ones. The software changes its default every year, and if old articles aren't updated, the traps you fall into are left by them.
In terms of format, comic enthusiasts basically have no blind spots: CBZ, ZIP, CBR, RAR, PDF, EPUB are all accepted. My 180GB inventory is imported directly without any format transfer. Over 180GB of compressed files, over 700 files. The first full library scan took more than ten minutes, then incremental scans were done quickly.
Web readers are Komga's strength: you can switch between single or double pages at will, adapt to screen widths, and in the series settings, the reading direction has been changed to 'right to left,' making the page-turning feel the same as a physical book. The best part is progress memory—it remembers every page it sees. I read halfway through the study computer, then at night I pick up the tablet and continue reading directly. From then on, my wife removed the comic app, saying things like, "You don't even spend money and don't have ads."
How to interpret mobile tablets: OPDS can be summed up in one word
After installing two libraries, how do you view them on your phone? There's a term here called OPDS, which basically means the "subscription catalog" protocol of the book repository world—add a server address and account to the reading app, and your bookshelf is fully loaded into the app, like a cloud storage client, but you're reading your own books.
On Android phones, I use Moon+ Reader, add the OPDS directory, fill in the calibre-web address (add /opds after port 8083) and the account, and the bookshelf will appear directly; Read the manga and follow Komga's OPDS source. Apple tried KyBook and Panels, both connect, and Panels feels the best for flipping comics. If you find installing apps troublesome, opening the web version directly on a tablet browser is the easiest way. My wife is a web enthusiast, so progress is still tracked. If you're out and about, you can flip through a couple of pages, and with remote access, you can get back connected. Reading comics is a bit tricky for data, but reading books is very economical.
Here's another cold splash: Kindle shouldn't mess with OPDS. That experimental browser is very troublesome to open such pages, so honestly using it as a "USB reader" is actually its most respectable way to live in its later years.
I went through the pitfalls of both warehouses one by
oneNaming a pit is the most exhausting. Don't name your comic folder randomly—mix 'One Piece,' 'ONE PIECE,' and 'One Piece', and Komga will treat them as three series. Volume numbers must be filled with zeros: Volume 1 is written as 01, Volume 10 as 10, otherwise 10 will be placed before 2 in sorting, and OCD will die on the spot. The same goes for books—if the file name is messy, searching basically depends on fate.
Large PDFs are the second biggest pit. A scanned PDF worth hundreds of megabytes opens slowly on calibre-web pages, and the cover loads slowly. For these lengthy tasks, my experience is to download them locally from the webpage before viewing; don't wait for the page to render.
Don't slack off on your account. I set up a reading-only account for my child, with separate catalogs for study materials and books suitable for him. The parental control approach is the same as the same principle as folder permissions back then. His scanned test papers still follow the old procedure: after scanning OCR, he turns them into text correction questions, extracting text, which I wrote before, no need to repeat it.
Memory and bay slots. Each of the two containers takes up two to three hundred megabytes of memory, but during a full Komga scan, it consumes seven to eight hundred megabytes. My N100 with 8GB of memory is completely imperceptible, which is easier than when I < a href="https://www.shunot.com/en/nas/1035.html" > installed Navidrome to listen to music. The 180GB comic disk is stored on a 4TB mechanical drive, not the SSD for downloads—comics are read sequentially, mechanical drives can handle it, so don't squeeze into the solid-state space. This storage account is the same as the one used back in the year clearing the storage pool.
Also, remember, these two are Docker containers. When upgrading or updating in the future, just follow the five steps container upgrades. Copy the parameters carefully, and all the data will be in the mount directory and won't be lost.
Whoever pretends to be the one who acts: take it personally
After using it for a month, my conclusion is that this thing depends on the person:
| Your situation | : Suggestions |
|---|---|
| Books and comics are scattered across cloud drives, hard drives, and WeChat. Find them once and | store themwith your eyes closed; organize them once and you'll be done once and for all |
| Mainly read on a tablet, | just installKomga for progress memory, and the web version is ready to use right out of the box |
| There are so many and diverse books, and if you have to search by author and manage the format | , calibre-web is worth the hassle metadata.db |
| to push the book to the Chinese Kindle | isa disappointment, but once the push stops, USB is the real way |
| Only phones and too lazy to install apps | Skip installing both for now; just check the browser webpage |
If you really want to get started, here's the order: install Calibre on your computer to create an empty library, copy the metadata.db into the NAS directory→ set up the calibre-web container, change the password to start uploading→ start the Komga container, set the port to 25600→ comic folder according to "one copy per folder, volume number filled in zeros"→ install an OPDS-compatible reader on your phone→ get your own account for your family. A weekend afternoon session brings you whatever you want to watch in the future—just click and you'll find it.
