COPS — for Calibre OPDS (and HTML) PHP Server — is a lightweight web alternative to Calibre's built-in content server. The premise behind the project is simple: Calibre is a fantastic tool for managing an ebook library, but it becomes cumbersome when it comes to distributing it online. COPS takes over by exposing your existing Calibre folder in two formats: a fully compatible OPDS catalog and a navigable HTML interface accessible from any device — smartphone, tablet, or e-ink reader.
Specifically, COPS reads the metadata.db (SQLite) database generated by Calibre directly, without duplicating or transforming it. It offers built-in search (OpenSearch), management of multiple libraries within a single installation, support for Calibre's custom columns and filtering facets. All formats supported by Calibre are served: EPUB, MOBI, PDF, AZW3, CBR, CBZ…
The OPDS feed is consumed by most reading apps on the market (Moon+ Reader, FBReader, KOReader…) as well as Kobo and Sony PRS e-readers. Technically, COPS is written in PHP and requires only a web server with a few standard extensions. Its footprint is intentionally minimal: little code, no dedicated database, very low CPU and RAM usage.
The typical use case is self-hosting a personal or family library: you sync your Calibre folder to the server (via Syncthing, Nextcloud, a network share…) and COPS makes it accessible online, everywhere, on any OPDS-compatible device. You install and maintain the application on your VPS on French soil.