This DIY tutorial by Whooly Kao is based around this bookshelf from Anthropologie. While the Anthropologie version was created to house a pre-curated selection of classic vintage books, the DIY version allows you to create a version to fit your personal collection of treasured books. The only change I would make would be to craft the case in such a way as to line up the tops of the books, as in the original.
The piece was constructed using birch plywood custom cut to fit the books, then pieced together with wood glue and stained.
For complete instructions on how to create the case visit Wholly Kao.
(Image: Wholly Kao)