Chat about [extension by gregbosen] PDF Dups
Find duplicate PDF books in your Piwigo library — even when they're different scans of the same work, differently named, or byte-identical copies.
The plugin scans your PDF gallery items using three complementary detection signals: byte-identical fingerprints, cover-image perceptual hashing (dHash, with optional SSIM verification), and normalized/fuzzy title matching. Matches are grouped into candidate clusters and presented in an admin review screen for a human decision — nothing is ever deleted automatically. Review, confirm, or dismiss each group at your own pace.
Scanning runs in small batched AJAX passes (configurable batch sizes for probing, cover hashing, and metadata indexing) so it stays responsive even on large libraries, with an optional Ghostscript fallback for page-count extraction. Thresholds (fuzzy title similarity, hash distance, stopwords, etc.) are all tunable from the plugin's settings page.
Key points:
- Report-and-review only — no destructive actions, ever
- Three detection methods: exact hash, cover phash, fuzzy title
- Batched background scanning suited to large collections
- Configurable thresholds via admin settings
- Web service methods (pwg.pdfdup.*) for the scan/review UI
I'm a web developer with 20+yr experience yet I'm using Claude to assist coding this project.
Offline