Skip to content

3D animated bookshelf for ebooks

Notifications You must be signed in to change notification settings

AJuliette/bookshelf

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

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.

About

3D animated bookshelf for ebooks

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 47.7%
  • HTML 33.2%
  • CSS 19.1%