{"id":18804385,"url":"https://github.com/abates/disgo","last_synced_at":"2026-01-06T15:30:13.023Z","repository":{"id":57604543,"uuid":"38907142","full_name":"abates/disgo","owner":"abates","description":"Duplicate Image Search in GO","archived":false,"fork":false,"pushed_at":"2018-07-25T00:21:09.000Z","size":249,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"develop","last_synced_at":"2024-12-29T20:42:26.876Z","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":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/abates.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}},"created_at":"2015-07-11T00:01:00.000Z","updated_at":"2018-07-25T00:21:10.000Z","dependencies_parsed_at":"2022-09-12T21:42:24.536Z","dependency_job_id":null,"html_url":"https://github.com/abates/disgo","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abates%2Fdisgo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abates%2Fdisgo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abates%2Fdisgo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abates%2Fdisgo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/abates","download_url":"https://codeload.github.com/abates/disgo/tar.gz/refs/heads/develop","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239736801,"owners_count":19688520,"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-11-07T22:39:07.104Z","updated_at":"2026-01-06T15:30:12.963Z","avatar_url":"https://github.com/abates.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Duplicate Image Search in GO\n\n[![Build Status](https://travis-ci.org/abates/disgo.svg?branch=develop)](https://travis-ci.org/abates/disgo) [![GoDoc](https://godoc.org/github.com/abates/disgo?status.png)](https://godoc.org/github.com/abates/disgo) [![Coverage Status](https://coveralls.io/repos/github/abates/disgo/badge.svg?branch=develop)](https://coveralls.io/github/abates/disgo?branch=develop)\n\nThis package is still a work in progress, but it works well in my own testing.\n\n### Example\n\n```Go\npackage main\n\nimport \"fmt\"\n\nimport \"github.com/abates/disgo\"\n\nfunc main() {\n  // Create a disgo database with the default radix index\n  db, _ := disgo.New()\n\n  // load an image into the database and get the hash back\n  file, _ := os.Open(\"test.png\")\n  hash, _ := db.AddFile(file)\n  fmt.Printf(\"Image Hash: %08x\\n\", hash)\n\n  // search for all hashes with a Hamming distance of 3\n  // or less\n  matches, _ := db.SearchByHash(hash, 3)\n  fmt.Printf(\"Matches: %v\\n\", matches)\n}\n\n```\n\n### TODO\n- [ ] make radix index save/load functions thread safe\n- [ ] add record storage (e.g. file path) to database\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabates%2Fdisgo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fabates%2Fdisgo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabates%2Fdisgo/lists"}