10 Commits
Author SHA1 Message Date
Timmy Welch 4b91c400b5 Add more metrics
ids: ID Count
consistent_ids: ID Count == A Hash Count
consistent_hashes: A Hash Count == D Hash Count == P Hash Count
2026-11-05 16:29:43 -08:00
Timmy Welch b1aa8d5bd3 Serve hashes as x-image-hash-db+gzip 2026-11-05 16:29:43 -08:00
Timmy Welch 04c06b072a Implement the V3 binary saved hashes format
Load hash files in place instead of decoding msgpack or json
Drop the --save-format flag since there is only one format
2026-11-05 16:29:10 -08:00
Timmy Welch 13e9858d92 Remove the NewIDs type 2026-11-05 16:29:06 -08:00
Timmy Welch 1129ff6f7a Rename SavedHashes to SavedHashesV2 2026-11-05 16:28:57 -08:00
Timmy Welch c21f55dac7 Improve error handling in matchCoverHash 2026-11-05 16:28:55 -08:00
Timmy Welch d720d02911 Use a bounded context for graceful shutdown 2026-11-05 16:28:53 -08:00
Timmy Welch 37d7532706 Rework the channel pipeline for hashing images 2026-11-05 16:28:51 -08:00
Timmy Welch ffc0261ace Fix HashServer
Use appropriate digest header caches
Name fixups
Encode hashes with pgzip and a buffered writer
Add --use-all-checksums for faster default exports
Only create the hash server when hash saving is enabled
2026-11-05 16:28:49 -08:00
Timmy Welch e374614124 Move hashing code into ch/ and comic-hasher to the repo root
So `go install gitea.narnian.us/lordwelch/comic-hasher@latest` works
2026-11-05 16:28:41 -08:00