Automating my Comic Book Library
I use an android app – Tachiyomi to download and read my favorite comics. Tachiyomi is a free and open source manga reader for Android with support for various extensions. Some of the features include online and offline reading from over a thousand sources, tracking and switching between sources, a configurable reading experience with multiple reading modes, custom color filters, and other settings.
But the problem is I like to read my comics on my iPad. Unfortunately, there are no good alternatives to Tachiyomi when it comes to scraping the web for the comics I need. I have also found ubooquity as the best solution for managing my comics and ebook library. Ubooquity is a free home server for comics and ebooks library. It lets me read my ebooks and comics on any device, wherever I am. So I set up a workflow using Tachiyomi, rsync, Synology NAS, ubooquity server on docker and Chunky iOS app.
- Use Tachiyomi for grabbing the comics
- rsync the comics directory from the android tablet with the NAS
- Convert directories of comics into CBZ files using a custom script. This runs as a cron job on the Synology NAS
- Set up an ubooquity server on my Synology NAS using docker, which automatically scans and imports the CBZ files
- Use the Chunky app on iPad to open the comics I want to read from the ubooquity server
Comic book archive file is a type of archive file for the purpose of sequential viewing of images, commonly for comic books. CBZ is one of the common comic book file formats and you can simply convert a directory containing images in a sorted file name order into a .cbz file by zipping up the directory with the file extension of
.cbz. Since Ubooquity cannot work with a directory of images, I had to write a python script that takes a directory containing sub directories of comics and creates .cbz files for each of the sub directories.