15 Commits
Author SHA1 Message Date
Timmy Welch 55de1f70bf Update commands for non-blocking logging 2026-11-05 16:29:43 -08:00
Timmy Welch 7bc53e8408 Add CHDB compaction
Compact the bolt database on shutdown to reclaim the space freed
by deleted entries
2026-11-05 16:29:43 -08:00
Timmy Welch 978f19b1f6 Add a hash conversion command
Add cmd/convert to convert legacy V2 hash files to the V3 format
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 3cbec4606b Rename BasicMap to Basic
Keep BasicMap as an alias for CLI flags
Fix the unknown storage type error message
2026-11-05 16:28:59 -08:00
Timmy Welch 1129ff6f7a Rename SavedHashes to SavedHashesV2 2026-11-05 16:28:57 -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
Timmy Welch d730de8fe1 Finish POC
Make a pip installable package for quick-tag
Save and load hashes from msgpack/json
Embed hashes of all thumb_urls from ComicVine
Allow associating new IDs to old IDs
Support multiple domains
Support hashing local covers
Support simple list of ids and distance and results including the hash
2024-08-11 20:46:41 -07:00
Timmy Welch df2906ac59 Add an option to return simple results 2024-08-05 13:54:00 -07:00
Timmy Welch 4a7e61e189 static check fixes 2024-08-04 18:26:43 -07:00
Timmy Welch e2082465c6 more stuff 2024-08-04 18:12:00 -07:00
Timmy Welch c61ade9961 stuff 2024-07-31 11:35:17 -07:00
Timmy Welch ce71c2f66b Initial Commit 2024-05-01 18:09:02 -07:00