{"id":22814429,"url":"https://github.com/danlock/searmage","last_synced_at":"2025-04-22T18:41:01.884Z","repository":{"id":213194595,"uuid":"731778937","full_name":"Danlock/searmage","owner":"Danlock","description":"Search images locally via a CLI, powered by Tesseract","archived":false,"fork":false,"pushed_at":"2023-12-21T20:39:42.000Z","size":30855,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2023-12-21T21:35:53.347Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Danlock.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2023-12-14T21:26:40.000Z","updated_at":"2023-12-20T13:44:21.000Z","dependencies_parsed_at":"2023-12-21T21:45:21.170Z","dependency_job_id":null,"html_url":"https://github.com/Danlock/searmage","commit_stats":null,"previous_names":["danlock/searmage"],"tags_count":0,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Danlock%2Fsearmage","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Danlock%2Fsearmage/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Danlock%2Fsearmage/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Danlock%2Fsearmage/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Danlock","download_url":"https://codeload.github.com/Danlock/searmage/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":229388361,"owners_count":18065252,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-12T13:08:53.076Z","updated_at":"2024-12-12T13:08:53.602Z","avatar_url":"https://github.com/Danlock.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# searmage\n\nSearmage is a CLI tool for searching through your local images. It can watch a folder and build up an index for quickly searching through images later. Powered by Tesseract and SQLite.\n\n# example\n\nCheck out this repo and run ` make build `\n\n` ./bin/searmage -dir /some/folder/with/images -db /tmp/searmage.sqlite3 `\n\nThis will parse images in the given directory for any text, and then store the text within the sqlite database.\n\n` ./bin/searmage -search '%the meaning of life%' -db /tmp/searmage.sqlite3 `\n\nThis will search the previously parsed image text and return with the path of matching images.\n\n` ./bin/searmage -help `\n\nWill expose further flags, outlined at cfg/args.go\n\n\n# C\n\nWith CGO_ENABLED=0 Wazero is used to run Tesseract and SQLite, which have both been compiled to WASM.\nWith CGO_ENABLED=1 however you can use a locally installed Tesseract instead. Here's an example on how to install Tesseract locally.\n\n```\nsudo apt-get install -y -qq libtesseract-dev libleptonica-dev tesseract-ocr-eng\n```\n\nThe CGO_ENABLED=0 version is currently roughly 6 times slower.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanlock%2Fsearmage","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdanlock%2Fsearmage","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanlock%2Fsearmage/lists"}