mirror of
https://github.com/osmarks/meme-search-engine.git
synced 2024-11-14 07:44:49 +00:00
osmarks
7cb42e028f
I decided I wanted to integrate the experimental OCR thing better, so I rewrote in Go and also integrated the thumbnailer. However, Go is a bad langauge and I only used it out of spite. It turned out to have a very hard-to-fix memory leak due to some unclear interaction between libvips and both sets of bindings I tried, so I had Claude-3 transpile it to Rust then spent a while fixing the several mistakes it made and making tweaks. The new Rust version works, although I need to actually do something with the OCR data and make the index queryable concurrently.
27 lines
770 B
Modula-2
27 lines
770 B
Modula-2
module meme-search
|
|
|
|
go 1.22.2
|
|
|
|
require (
|
|
github.com/DataIntelligenceCrew/go-faiss v0.2.0
|
|
github.com/jmoiron/sqlx v1.4.0
|
|
github.com/mattn/go-sqlite3 v1.14.22
|
|
github.com/samber/lo v1.39.0
|
|
github.com/titanous/json5 v1.0.0
|
|
github.com/vmihailenco/msgpack v4.0.4+incompatible
|
|
github.com/x448/float16 v0.8.4
|
|
golang.org/x/sync v0.7.0
|
|
)
|
|
|
|
require (
|
|
github.com/davidbyttow/govips/v2 v2.14.0 // indirect
|
|
github.com/golang/protobuf v1.5.2 // indirect
|
|
github.com/h2non/bimg v1.1.9 // indirect
|
|
golang.org/x/exp v0.0.0-20220303212507-bbda1eaf7a17 // indirect
|
|
golang.org/x/image v0.16.0 // indirect
|
|
golang.org/x/net v0.25.0 // indirect
|
|
golang.org/x/text v0.15.0 // indirect
|
|
google.golang.org/appengine v1.6.8 // indirect
|
|
google.golang.org/protobuf v1.26.0 // indirect
|
|
)
|