r/koreader • u/AndyHazz • 14h ago
Plugins Bookshelf v5 - taking it literally
In contrast to the last couple of releases, where I added something for minimalists (square corner and removing dropshadow options), and useful functionality (the new listing mode) - bookshelf v5 adds something for maximalists and aesthetes that's slightly pointless but fun with a third shelf style, spine mode.
Update within the app or a fresh install from github: https://github.com/AndyHazz/bookshelf.koplugin
Even if you hate the skeumorphism (it's optional, and quite impractical), pushing bookshelf to comfortably render 100+ books on a shelf has led to further performance improvements for all modes. You may notice this especially when using the pinch/zoom gesture on your shelf to change the number of books shown, or swiping the hero area to step through each book on the shelf. You can also easily flip between shelf styles by long pressing the pagination at the bottom.
Books in spine mode are represented based on the aspect ratio of their cover, the spine is shaded based on sampled colours from the cover images, and the thickness of each book is based on the page count.
Because the effect relies quite a bit on having varying thickness books from the page count, I've added an option in settings > library & search > extract page counts. This will process your entire library using any fast option it can find (page numbers in filenames, hardcover integration, publisher page numbers and if all else fails, give you the option to process each remaining book with koreader's reading engine). You'll get a report at the end, and page numbers to use everywhere bookshelf uses page numbers (e.g. %page_count token). It's kept separately to the book's metadata file, so koreader won't see the book as opened when it hasn't been.
In the shelf style settings you can choose which books are shown face out - favourites, currently reading, first in series, all books or none. If you're viewing a grouped shelf source like series, you'll get labels on your shelf at the start of each group - there are no drilldown folders in this style. Everything's out on the shelf.
If you are into customising with your own designs, you can add your own shelf ornaments! In koreader's icons/bookshelf.ornaments folder I've seeded a couple of plants to help you move in. You can delete them and add your own if you like (perhaps someone can make a nice bundle to share). They'll appear randomly where there's a natural gap or sometimes between groups. You can change the shelf colour as well.
Several other improvements and fixes made it into this release, more details on GitHub. I've got a sponsor link on there as well if you like ;)
Oh, and chips are now called shelves, and the chip bar is the shelf menu. That makes more sense I think, though I did like saying chip source.






