{"id":13994745,"url":"https://github.com/niedzielski/git-diff-img","last_synced_at":"2025-04-10T13:41:29.829Z","repository":{"id":54750168,"uuid":"76921841","full_name":"niedzielski/git-diff-img","owner":"niedzielski","description":"📷 Diff Git versioned images graphically.","archived":false,"fork":false,"pushed_at":"2023-01-02T02:35:16.000Z","size":362,"stargazers_count":78,"open_issues_count":0,"forks_count":2,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-03-24T12:21:28.484Z","etag":null,"topics":["compare","comparison","delta","diff","difference","git","git-diff","git-difftool","image-diff","imagemagick"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/niedzielski.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"license.text","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-12-20T04:05:34.000Z","updated_at":"2025-03-07T18:29:53.000Z","dependencies_parsed_at":"2023-02-01T01:45:15.835Z","dependency_job_id":null,"html_url":"https://github.com/niedzielski/git-diff-img","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/niedzielski%2Fgit-diff-img","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/niedzielski%2Fgit-diff-img/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/niedzielski%2Fgit-diff-img/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/niedzielski%2Fgit-diff-img/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/niedzielski","download_url":"https://codeload.github.com/niedzielski/git-diff-img/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248226044,"owners_count":21068118,"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":["compare","comparison","delta","diff","difference","git","git-diff","git-difftool","image-diff","imagemagick"],"created_at":"2024-08-09T14:03:04.772Z","updated_at":"2025-04-10T13:41:29.805Z","avatar_url":"https://github.com/niedzielski.png","language":"Shell","funding_links":[],"categories":["Shell"],"sub_categories":[],"readme":"# git-diff-img\n\n![Example difference after replacing the left hand side with the right](doc/spot-the-diff-montage.png)\n\u003csmall\u003eThe result of `git diff-img`. Sample image by\n[Muband](https://ja.wikipedia.org/wiki/%E5%88%A9%E7%94%A8%E8%80%85:Muband) from\nthe [Spot the difference](https://en.wikipedia.org/wiki/Spot_the_difference)\nWikipedia article; distributed under a CC BY-SA 3.0 license\u003c/small\u003e\n\n## Installation\n\n### System Prerequisites\nInstall ImageMagick: `sudo apt install imagemagick`.\n\n### As a Git configuration (**recommended**)\n\n```bash\ngit config --global alias.diff-img difftool\\ -x\\ \\''compare -alpha copy \"$LOCAL\" \"$REMOTE\" png:- | montage -mode concatenate \"$LOCAL\" png:- \"$REMOTE\" png:- | display -title \"$BASE: Local | Diff | Remote\" png:-'\\'\n```\n\n### As an executable (**not** recommended)\n\nThis is an *alternative* installation procedure that is unnecessary if the Git\nconfiguration is used. It's not recommended because it requires an understanding\nof PATH lookup\n\n```bash\ncurl https://raw.githubusercontent.com/niedzielski/git-diff-img/master/git-diff-img -o ~/bin/git-diff-img \u0026\u0026\nchmod +x ~/bin/git-diff-img\n```\n\n## Usage\nExecute against images only: `git diff-img **.png`\n\n## Tips\n\n\u003cdetails markdown\u003e\n\u003csummary\u003e💡 Resizing the diff to fit your monitor…\u003c/summary\u003e\n\nNewer versions of ImageMagick support resizing the diff to fit large images to\nthe screen. Consider adding\n[the `-resize` argument](https://imagemagick.org/script/command-line-options.php#resize)\nto `display` if you want this behavior. Eg, instead of:\n\n```\ndisplay -title \"$BASE: Local | Diff | Remote\" png:-\n```\n\nTry:\n\n```\ndisplay -resize 1900x -title \"$BASE: Local | Diff | Remote\" png:-\n```\n\u003c/details\u003e\n\n## Examples\n![The percentage symbol differs](doc/example-font.png)\n_Version a [font](https://rndmem.com) sprite sheet and see the concrete difference in each commit._\n\n## Links\n- [delta](https://github.com/dandavison/delta)\n- [diff-so-fancy](https://github.com/so-fancy/diff-so-fancy)\n- [Improved Colored Diff](https://github.com/jeffkaufman/icdiff)\n\n## License (Public Domain)\nAll code is public domain and may be used without limitation.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fniedzielski%2Fgit-diff-img","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fniedzielski%2Fgit-diff-img","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fniedzielski%2Fgit-diff-img/lists"}