After Hours

How to use Calibre to access your ebook collection online

Calibre is one of the most powerful ebook managers available. But did you know that Calibre has a built in server that allows you to access your library from a web browser? In this how-to, Jack Wallen shows you how to set up Calibre to serve up your book library.

I have been in near-saturation mode with ebooks lately, due to the publishing of my own works of fiction (find them on Amazon, Barnes & Noble, and Smashwords). For many indie writers/publishers and readers of ebooks the challenge of managing a vast collection of works can be a bit overwhelming (thanks to the ereaders' insufficient built-in book management tools). Thankfully there are tools available for the PC to help you manage those collections.

Naturally Linux is not left out of this mix. The Calibre ebook manager is one of the best tools of the trade I have found for managing ebooks. And for administrators looking for ways to convert and add books, PDFs, howtos, etc. to an ereader for portable reading, Calibre is exactly the tool you need. Let's take a look at this tool and how you can benefit from using it.

Features

Calibre offers the following features:

  • Library Management
  • E-book conversion
  • Syncing to e-book reader devices
  • Downloading news from the web and converting it into e-book form
  • Comprehensive e-book viewer
  • Content server for online access to your book collection
  • Cross platform (Available for Linux, Windows, and Mac)

As you can see, Calibre will be a much more usable tool than what your ereader came with. Of the features above, the only one that might give you a bit of trouble is the Content server. Calibre uses a built-in web server so you do not have to install anything separately. The server uses port 8080 (by default, this can be changed) and is actually simple to set up. Once you have this set up, you can then point your browser to the IP Address (or domain) that has Calibre installed (and running) and read your books online. Let's examine this setup .

Calibre setup

Figure A

Open up Calibre and then go into the preferences window. From within the Preferences window, click on the Sharing Over The Net button to reveal the sharing setup window (see Figure A). In this screen you will want to adjust the port settings (should it be necessary), as well as give your Library a password (should you want). Once you have all of the settings done, make sure you click Apply before you click the Start Server button, or else the server will start with the default settings.

I had trouble on a Ubuntu 10.10 desktop with Calibre binding to port 8080, so I switched the port to 8787 and all went swimmingly. I would highly recommend, if you change the port, to actually save the settings, close Calibre, and restart Calibre. For some reason even applying the changes did not allow the Stanza server to connect to the correct port until I restarted Calibre. I would also recommend you checking the box for starting the server when Calibre starts. That way you won't have to remember, every time, to start the Calibre server.

Figure B

When Calibre is back up and running, open up your web browser, and point the browser to http://ADDRESS_OF_SERVER:PORT_FOR_CALIBRE. When the Calibre page opens it will resemble that shown in Figure B. When you browse your library and see a book you want to read, click on the Get button and the book will be downloaded. You can then open that book in the local reader.

The future of books

It's pretty obvious that the book industry is under a fairly significant shift. Thanks to very powerful (and user-friendly) ebook readers, the future of books is in a very exciting place. Having tools like Calibre available to you makes the world of reading (and using books) even more exciting.

About

Jack Wallen is an award-winning writer for TechRepublic and Linux.com. He’s an avid promoter of open source and the voice of The Android Expert. For more news about Jack Wallen, visit his website getjackd.net.

5 comments
G.Hall
G.Hall

This is a useful tutorial, thankyou! I wanted to go one step further than this - to be able to access my library on a stand along machine that I could leave on all the time and wouldn't consume lots of power. It took me a while to get it up and running but I finally achieved it by changing the format of the Calibre database, writing some web based scripts to access it and running it on a Raspberry Pi. You can read more about it here: http://874.org.uk/calibre-ebook-server-on-raspberry-pi.html

Deadly Ernest
Deadly Ernest

sadly, the current set up for e-book stories is garbage and most come out as garbage piles of huge blocks of text. However, with Calibre I have been able to adjust some settings to get a lot of the faults fixed, but a few still bug me. None of the e-book formats, except PDF, provide a decent book layout on the page, and all have the following faults: 1. The inability of e-book formats to handle three levels of headers properly; 2. The inability of e-book formats to wrap full words, they insist on hyphenating words and usually at the most stupid point that makes the reading of the word troublesome. It would be a lot better to just push the whole word over to the next line. 3. The inability of all formats to handle indented text properly. Of the four programs I've tried over the last two years Calibre is the only one I've found worth persevering with and trying to get something acceptable out of. Playing with the settings, many not available in other programs, I've been able to resolve many issues but not the three above - yet. Also, Calibre is free. edit to add - If any of the e-book readers were set to use basic html code instead of their varied codes set ups I'd have none of these problems at all and conversion would be dead easy.

PaddyLz
PaddyLz

Sorry to be bringing up an old thread, but I've recently started using Calibre as I got a Sony reader as a present- I'm wondering, can newsletters / articles be added to Calibre through the news feed / daily subscription option? I can click 'add custom news source', but I'm not sure of what feed URLs to use etc. .... EDIT: I think I figured it out- sorry if it was a bit of a noob question- using the RSS links from the newsletters / blog sections, I add this to a 'recipe' within Calibre, under the title of TechRepublic, choosing which I want to download, then how often (daily) etc... Any other information is welcome!

ashwinipn
ashwinipn

Recently I installed it while searching for the solution to convert PDFs to ePUB. Like it a lot and wish to learn it more intensively as per my needs. Felt the need for conversion because PDFs can't be manipulated much in a 7" eReader, rendering the reading of scientific articles in PDF form practically useless. However, still playing with conversion options since default options are not good enough for the different format styles used in designing the articles in a given journal. Android market has an eReader app called word player that natively supports sync with Calibre. I can't comment how it functions overall as still exploring but if these two together do what they claim to... it is going to e pretty good functionality.

Editor's Picks