# seblucas/cops

Calibre OPDS (and HTML) PHP Server : web-based light alternative to Calibre content server / Calibre2OPDS to serve ebooks (epub, mobi, pdf, ...)

Repository: https://github.com/seblucas/cops
Canonical: https://ross.abutalabs.com/products/cops
Homepage: http://blog.slucas.fr/en/oss/calibre-opds-php-server
Language: PHP
License: GPL-2.0
License Family: copyleft
Topics: opds, php, ebook, ebook-manager, eink
Last push: 2024-04-03T23:53:06+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 5211, "days_push": 882, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1488, forks 221 (observed 2026-08-28T04:04:52.155109+00:00)

## What it is
COPS is a lightweight PHP web application that serves a Calibre ebook library over OPDS feeds and a simple HTML catalog. It reads the Calibre metadata database directly, requiring no heavy dependencies, and supports search and ebook formats like epub, mobi, and pdf.

## Use cases
- serve my calibre library over opds to my e-reader
- host a lightweight ebook server on a small home server
- browse and download ebooks from my kobo or eink device
- search my calibre collection from a phone without running calibre itself
- replace calibre content server with something low-resource
- sync my calibre library to a nas and access it via web

## When to choose
- you have an existing Calibre library and want a low-resource web/OPDS server
- you run a small server or NAS (e.g. Raspberry Pi, Dockstar) with PHP
- you need OPDS feeds with search for e-readers like Kobo

## When to avoid
- you need active feature development or modern framework support
- you want a full ebook management/editing tool rather than a server
- your stack is not PHP-based

## Facets
- artifact type: application
- maturity: maintenance
- function: http-server, search-engine, image-processing
- domain: self-hosted, files, web-development
- platform: php, self-hosted
- tags: opds, calibre, ebook-server, epub, eink, web-server, linux

## Member repositories
- seblucas/cops (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:52.155109+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:33:45.874060+00:00, confidence not recorded.
  - readme: https://github.com/seblucas/cops (fetched 2026-08-28T04:04:52.155109+00:00, sha 040516cb5486)
- Data as of 2026-08-30T08:39:29.467469+00:00.
