Timmy Welch
55de1f70bf
Update commands for non-blocking logging
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
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
d3975a7f0b
Make the max url parameter optional
...
Default max to 8 when the parameter is not given
2026-11-05 16:28:39 -08:00
Timmy Welch
af32f6bef3
Implement metron downloader
2026-11-05 16:28:33 -08:00
Timmy Welch
dbd7b86cd4
Separate image downloading into a separate package
...
Extract the image download worker from the ComicVine downloader
Move the image download worker out of the ComicVine downloader so
that any source can share one download path. The ComicVine downloader
now sends downloads to the shared workers and the workers send
finished downloads to the download processor.
2026-11-05 16:28:07 -08:00
Timmy Welch
32109308d4
Intermediate between state between Fix writing hashes and V3
...
Update ID Group implementation to use slices instead of maps
Uses a slice of IDs and uses the insertion index as a reference to the ID
VP-tree:
Fix returning 0 for the distance for matches
Fix discarding exact matches
Explicitly mark hash slices as unused
SQLite: Decode saved hashes for debugging/testing
Fix sqlite and vptree implementations
2026-11-05 16:28:04 -08:00
Timmy Welch
2a03fa93c2
Migrate packages to custom log package
...
Use os.Exit in place of log.Fatal
Register a -log-level flag mapping loggers onto levels
2026-11-05 16:27:55 -08:00
Timmy Welch
5d3bed547f
Fix writing hashes
...
Write to the gzip writer
Fix renaming the new file onto the old hashes
2026-09-28 16:54:50 -07:00
Timmy Welch
a9338fe930
Fix compression order for downloading hashes
2026-09-06 15:25:08 -07:00
Timmy Welch
60d25d43f5
Remove duplicate matches
2026-09-06 13:29:39 -07:00
Timmy Welch
c19c006057
Compress hashes
2026-09-03 13:25:08 -07:00
Timmy Welch
52a16df180
Reduce log spam
2026-09-03 05:55:14 -07:00
Timmy Welch
b25fb04a46
Fix hashServer initialization
2026-09-03 04:48:27 -07:00
Timmy Welch
acafe20bda
Add metrics
2026-09-03 03:32:11 -07:00
Timmy Welch
9ba007645f
Rearrange logs
2026-05-17 18:29:03 -07:00
Timmy Welch
412b0e07bd
Implement downloading and automatically saving the current hashes.gz
2026-05-17 18:28:39 -07:00
Timmy Welch
5c3be1e733
Fix finding exact hashes
2026-03-01 16:11:55 -08:00
Timmy Welch
7e7a7e1365
Fix missing path
2026-03-01 14:52:00 -08:00
Timmy Welch
3000ba74cc
Change default storage type
2026-03-01 14:32:08 -08:00
Timmy Welch
3d1bac490d
Remove unnecessary print
2026-03-01 14:26:50 -08:00
Timmy Welch
a3d78cd2c3
Fix download paths
...
Separate cv download functions
2026-03-01 14:04:01 -08:00
Timmy Welch
88f52c942c
Cleanup flag value after parsing
2026-02-25 18:41:18 -08:00
Timmy Welch
a6447abf1b
Use relative paths
2026-02-25 18:28:56 -08:00
Timmy Welch
2e980efa32
Ensure all cli sections are shown
2026-02-25 17:12:05 -08:00
Timmy Welch
37d279c4df
Re-add download section
2026-02-25 17:09:05 -08:00
Timmy Welch
1c2d39ea40
Make better defaults
2026-02-25 17:00:51 -08:00
Timmy Welch
197574ac67
Format bool arguments better
2026-02-25 16:21:26 -08:00
Timmy Welch
d1d4a6f2d6
Cleanup go routines
2026-02-25 12:06:14 -08:00
Timmy Welch
8cbb1ae09e
Cleanup cli options
2026-02-25 12:05:46 -08:00
Timmy Welch
5a8f7deac5
Fix saving hashes
2026-02-24 22:00:01 -08:00
Timmy Welch
131e99ba82
Add --version
2026-02-22 13:55:01 -08:00
Timmy Welch
2ed5daa67b
Cleanup
2026-02-22 13:49:03 -08:00
Timmy Welch
e4f3cc6008
Remove cover_extract
2026-02-22 13:41:17 -08:00
Timmy Welch
22d59aa221
Move HashStorage to its own package
2025-05-31 19:00:40 -07:00
Timmy Welch
ed0b5ba441
Don't include sqlite/vptree in gokrazy build
2025-05-31 18:35:18 -07:00
Timmy Welch
bb64d8449c
Improve memory efficiency
2025-05-31 15:00:05 -07:00
Timmy Welch
b0a4c2939c
Map to slice
2025-05-27 22:31:11 -07:00
Timmy Welch
d7c42f5c1d
Fix issues with loading saved hashes
2025-04-24 12:46:04 -07:00
Timmy Welch
0fd431f6f7
Update result type
2025-04-19 15:41:04 -07:00
Timmy Welch
9322f754bf
Fix http server
2025-04-13 16:42:49 -07:00
Timmy Welch
bf23bb5a4c
Add Server http Header and add -listen and -debug options
2025-04-13 15:58:34 -07:00
Timmy Welch
d7946c2aaf
Fix simple results
2025-04-13 15:57:29 -07:00
Timmy Welch
130b7dec4a
Update internal hash storage
2025-02-22 13:45:41 -08:00
Timmy Welch
f52219cb31
Fix loading old hashes
2025-02-05 17:59:59 -08:00
Timmy Welch
5a93dacdad
Fix checking for new covers
2025-02-05 16:32:25 -08:00
Timmy Welch
29f58e7fe7
Limit download buffer pool to 10MB buffers
2025-01-11 16:15:36 -08:00
Timmy Welch
fe3f045c6e
Fix issues with reading cv files
2025-01-11 15:26:35 -08:00
Timmy Welch
75d60339ee
Optimizations
...
Re-arrange some channels
set all channels to a size of 1
Reset the image download buffer
Allocate the correct slice size for the CV API
Add a flag to only download the original image
2025-01-10 22:28:51 -08:00
Timmy Welch
8a9aec4884
Don't catch sigabrt
2025-01-10 14:24:12 -08:00