Category Archives: Calibre

Items pertaining to the Calibre Ebook Software

Calibre Content Server Bootstrap 3 Template

calibre-logoI had some time to resume working on the Calibre Bootstrap template.  Since my initial release, Bootstrap3 was released so I wanted to integrate that, plus I added Font-Awesome icons because they’re pretty much the best.

I setup a github repository so you can grab it from there:

The demo has been updated to reflect the new template:

(I stole the idea for using Readmore from Tim Hobbes over at his blog)


Calibre Content Server Bootstrap Template

calibre-logo01/10/2014 UPDATE: Please click here for the newest template (now with Bootstrap3)


The awesome calibre has a built-in content server which allows access to your library from anywhere (even from the sparse kindle browser).  While I think it’s handy as all get-out, the default theme isn’t quite my style.

I did some googling and was surprised that I wasn’t able to find any drop-in templates for it.  Maybe I’m just one of the few that uses the content server.

A while back, out of a boredom and curiosity, I began working on “bootstrapifying” calibre with Twitter’s Bootstrap.  Aside from including the base Bootstrap scaffolding, there were some JavaScript, CSS, and template changes that had to be made.  I don’t really remember what they were anymore though.

Continue reading

Calibre E-Books, Command Line, And You (Well, Me)


Every single time I re-install Calibre, I forget where the configuration is to make it stop asking me where the database is.  I don’t have the calibre GUI running, which is where the instructions point you to for configuring this.

root@tripoli:~/.config/calibre# calibredb list
Traceback (most recent call last):
 File "", line 58, in main
 File "site-packages/calibre/library/", line 1393, in main
 File "site-packages/calibre/library/", line 180, in command_list
 File "site-packages/calibre/library/", line 59, in get_db
ValueError: No saved library path, either run the GUI or use the --with-library option

It’s located at ~/.config/calibre/

library_path = '/Media/Books'

While you’re in there, you might want to limit the columns that get searched.  If you have a big library, limiting it to important columns like author and title will really speed things up:

limit_search_columns = True

limit_search_columns_to = cPickle.loads('\x80\x02]q\x01(U\x05titleq\x02U\x07authorsq\x03e.')

You can always search the other columns like “tags:scifi” if you really want to.