# Bookshelf plugin for Obsidian
A custom [[Obsidian Bases|Obsidian Base]] view type that displays books with nice cover effects on a beautiful bookshelf.
![[Bookshelf plugin for Obsidian - cover.png]]
## What it does
Every note that matches the Base's filters becomes a book. You pick the property that holds the cover (a URL, a file in the vault, a wikilink to an image), and the covers go on a shelf made of oak, walnut, mahogany, metal, marble or concrete. If the Base groups its notes (by status, genre, year...), each group gets its own shelf with a header and a count. The properties of the view's display order show up under each book, and a click on a cover opens the note.
Nothing in it is specific to books. Movies, games, courses, papers: anything with a cover works.
## Default covers
Not every book note has a cover image. Those books get a hardcover drawn by the plugin, with the title and the author lettered in gold leaf. It's pure CSS: no image to download, nothing to store in the vault. A cover URL that doesn't load (dead link, no network) gets one too.
You pick the binding in the view options:
- **Cloth** (the default): linen texture, a double gold frame, the title in small caps
- **Leather**: grained leather, the title on a dark label
- **Library binding**: plain cloth, the title in capitals at the top; the easiest one to read on small cards
- **Mixed**: each book gets cloth, leather or library binding, so the shelf looks like an old library
- **Classic spine**: the old colored block with a vertical title
The lettering can be gold, silver, copper or "blind" (pressed into the cover, no foil). The color and the binding come from the title, so a book keeps its look in every view. Set the aspect ratio to 0.25 and the covers turn into spines: gold bands at the top and the bottom, the title running up the spine.
The author comes from the `author` or `authors` property, or from any property you pick: `artists` for albums, `directors` for movies, or a formula for a Base that mixes them. Music CDs and game boxes could get their own shapes later ([issue #16](https://github.com/dsebastien/obsidian-bookshelf/issues/16)).
## References
- Community: https://community.obsidian.md/plugins/bookshelf-base
- Documentation: https://dsebastien.github.io/obsidian-bookshelf/
- Source code: https://github.com/dsebastien/obsidian-bookshelf
## Related
- [[Obsidian Bases]]
- [[Journal Bases plugin for Obsidian]]
- [[Graph Explorer Base View plugin for Obsidian]]