{"id":19154679,"url":"https://github.com/rgrannell1/badger","last_synced_at":"2026-05-13T13:46:03.199Z","repository":{"id":152225378,"uuid":"401443131","full_name":"rgrannell1/badger","owner":"rgrannell1","description":"cluster photos by date, and sort by blurriness","archived":false,"fork":false,"pushed_at":"2022-10-31T20:23:47.000Z","size":126,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-17T10:06:15.797Z","etag":null,"topics":["blur","cli","dbscan","photos","python"],"latest_commit_sha":null,"homepage":"","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/rgrannell1.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-08-30T18:15:32.000Z","updated_at":"2023-06-09T08:49:57.000Z","dependencies_parsed_at":null,"dependency_job_id":"9d66d2db-14ed-45e5-b13c-a4194667fed9","html_url":"https://github.com/rgrannell1/badger","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/rgrannell1%2Fbadger","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rgrannell1%2Fbadger/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rgrannell1%2Fbadger/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rgrannell1%2Fbadger/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rgrannell1","download_url":"https://codeload.github.com/rgrannell1/badger/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240238383,"owners_count":19769925,"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":["blur","cli","dbscan","photos","python"],"created_at":"2024-11-09T08:27:52.884Z","updated_at":"2026-05-13T13:46:03.191Z","avatar_url":"https://github.com/rgrannell1.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# badger\n\n---\n\nbadger clusters photos by time and scores them by sharpness. It:\n\n- Copies media into a directory, with photos and video grouped into folders by\n  when they were taken\n- Prefixes filenames with a sharpness score so you can sort from sharpest to\n  blurriest within a burst\n- Groups raw images alongside their matching JPEG when present\n- Emits JSON progress to stdout when run with `--json-progress`\n\n## Usage\n\n```bash\nbadger cluster --from '/media/rg/3236-3061/DCIM/**/*' --to '/home/rg/Desktop/resources' --max-seconds-diff 4\n```\n\n## License\n\nThe MIT License\n\nCopyright (c) 2021 Róisín Grannell\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of\nthis software and associated documentation files (the \"Software\"), to deal in\nthe Software without restriction, including without limitation the rights to\nuse, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of\nthe Software, and to permit persons to whom the Software is furnished to do so,\nsubject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS\nFOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR\nCOPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER\nIN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\nCONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frgrannell1%2Fbadger","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frgrannell1%2Fbadger","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frgrannell1%2Fbadger/lists"}