About COPS
COPS stands for Calibre OPDS and HTML PHP Server. It serves ebooks from an existing Calibre library, offered as a lighter alternative to the Calibre content server. The author wrote it because Calibre has many dependencies, and he wanted something that would run on a small server.
It provides an OPDS feed, reached by adding feed.php to the URL, and a simple HTML catalog usable on an e-reader such as a Kobo. Search is available, which a static generator like Calibre2OPDS could not offer. Formats mentioned include epub, mobi and pdf. You keep the Calibre directory in sync with the server by any means you prefer, such as Syncthing or a Nextcloud share.
Requirements are a web server with PHP, with GD, Libxml, Intl, Json and SQLite3 support, and a path to a Calibre library. Nginx and Apache are reported to work. Install from a release zip, from source with Composer, or with a linuxserver.io Docker image. It is GPL v2 licensed.
Key features
- OPDS feed for ebook readers
- Simple HTML catalog for e-readers
- Search is available
- Low CPU and RAM needs
- Few dependencies
- Docker image available
Good fit for
- Serving a Calibre library to a Kobo
- OPDS access from reading apps
- Running on a low-power home server
COPS: questions and answers
- What is COPS used for?
- COPS is a lightweight PHP server that serves a Calibre ebook library over OPDS and a simple HTML catalog. It is a good fit for serving a Calibre library to a Kobo, OPDS access from reading apps and running on a low-power home server.
- Is COPS open source?
- Yes. COPS is open source under the GPL-2.0 licence. Its source code is on GitHub at seblucas/cops and is written mainly in PHP.
- Is COPS free?
- Yes. COPS is open source, so the software itself is free to use.
- Can I self-host COPS?
- Yes. COPS can be self-hosted on your own server or infrastructure.
- Is COPS actively maintained?
- The most recent commit to COPS was on 3 April 2024, and the latest release is 1.1.3, published on 24 June 2019. The project has 1.5k stars on GitHub.