{"id":16852670,"url":"https://github.com/deckarep/gotdoops","last_synced_at":"2025-10-18T13:02:28.476Z","repository":{"id":12787549,"uuid":"15461209","full_name":"deckarep/gotdoops","owner":"deckarep","description":"gotdoops - a quick and dirty script that detects duplicate image files and generates an html report with the list of duplicates.","archived":false,"fork":false,"pushed_at":"2016-12-14T17:14:04.000Z","size":1035,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-01-24T16:35:33.918Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/deckarep.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":"2013-12-26T22:03:41.000Z","updated_at":"2016-12-14T17:14:05.000Z","dependencies_parsed_at":"2022-09-15T01:03:19.907Z","dependency_job_id":null,"html_url":"https://github.com/deckarep/gotdoops","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/deckarep%2Fgotdoops","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deckarep%2Fgotdoops/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deckarep%2Fgotdoops/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deckarep%2Fgotdoops/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/deckarep","download_url":"https://codeload.github.com/deckarep/gotdoops/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244198395,"owners_count":20414443,"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-10-13T13:48:12.860Z","updated_at":"2025-10-18T13:02:28.399Z","avatar_url":"https://github.com/deckarep.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"gotdoops\n========\nquick and dirty script that detects duplicate image files and generates an html report with a list of duplicates.  \n\nintentions\n==========\nI built this for my wife who wanted a way to easily identify duplicate images on our growing collection of pictures.  Plus, it was an excuse to write something new in Go. =)\n\nhow it works\n============\nRunning this utility on a directory of images will do the following:\n\n* Recursively scan the directory looking for image files (currently only jpegs)\n* Add each image file path to a map of slices with the filesize as the key looking for potential duplicates\n* MD5 hash all files that have the same filesize looking for true duplicates\n* Generate thumbnails of all found duplicates\n* Generate an HTML report allowing for filtering on particular folder\n* Other than scanning for files and generating a report this command line app *DOES NOT* attempt to delete, rename or move files around.  It is purely designed to yield a report for further analysis currently.\n\nfuture improvements\n===================\n*  Enhance to run in parallell with Go's awesome goroutine/channels\n*  Enhance to work on additional image types or even any file type\n*  Modify to use Go's template library (should have started with this, but was lazy)\n*  Enhance with command line options as necessary\n*  Add unit-tests\n\nusage\n=====\n```Go\n//To install\ngo get github.com/deckarep/gotdoops\n\n//Then open up a command line and run the following:\ngo run gotdoops.go [folder/with/images]\n```\n\nimports\n=======\n*  github.com/deckarep/golang-set\n*  github.com/nfnt/resize\n\ncontributions\n=============\nAre absolutely welcome and encouraged!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeckarep%2Fgotdoops","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdeckarep%2Fgotdoops","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeckarep%2Fgotdoops/lists"}