bookshelf

3D animated bookshelf for ebooks

mawise
Ruby4238 forksMITupdated 1 year ago
git clone https://github.com/mawise/bookshelf.gitmawise/bookshelf

3D Bookshelf

Inspired by [https://scastiel.dev/animated-3d-book-css] and [https://github.com/janeczku/calibre-web]

This is a 3D bookshelf to browse ebooks. It pulls ebook metadata and cover art from a Calibre library. It uses the cover image aspect ratio to determine book height, all books are the same width. It uses page-count data (if available) to determine the thickness of the book. The Calibre comment metadata shows up as the back-cover text along with a book download link and page count.

Special thanks to Brandon Sanderson and Cory Doctorow who publish their books without DRM, and to Standard Ebooks and Planet Ebook for beautifully typeset public domain ebooks.

Usage

You'll need to download imagemagick for rmagick to work.

bundle install
ruby app.rb <path-to-calibre-library>

Optionally: Install the count pages Calibre plugin to make the books variable-width based on estimated page counts. Configure the plugin with a custom column named pagecount and the app will automatically discover any page-count data.

more like this

urge

The Universal Ruby Game Engine (URGE) Project

C++50

zigon

Zigon: A procedural 3D terrain generator and visualizer written in Zig using Raylib

Zig54

pypeec

PyPEEC - 3D Quasi-Magnetostatic FFT/PEEC Solver

Python54

search

search projects, people, and tags