Serve Calibre Library with COPS

Dmitri Popov

Productivity Sauce

Mar 29, 2013 GMT
Dmitri Popov

If you want to access your Calibre ebook library via a browser, you either use Calibre's built-in content server, or you can opt for something more nimble like COPS (COPS stands for Calibre OPDS PHP Server).

Deploying the application on a server is relatively easy. Grab the latest version of COPS from the project's website, unpack the downloaded archive, and rename the resulting directory to cops. Rename then the config_local.php.example file to config_local.php. Open the file in a text editor, and specify the path to the Calibre library, for example:

$config['calibre_directory'] = './calibre/';

In this example, the Calibre library is stored in the calibre folder inside the cops directory, but you can link COPS to a library stored in another location. Upload the entire cops directory to the root of your server, point your browser to http://127.0.0.1/cops (replace 127.0.0.1 with the actual IP address or domain name of your server), and you should see the COPS interface.

Thanks Sebastien for the tip!

comments powered by Disqus

Issue 170/2015

Buy this issue as a PDF

Digital Issue: Price $9.99
(incl. VAT)

News