{"id":15713742,"url":"https://github.com/watzon/diff","last_synced_at":"2025-05-12T22:55:26.075Z","repository":{"id":91428195,"uuid":"263430539","full_name":"watzon/diff","owner":"watzon","description":"Pure Crystal implementation of various diffing algorithms","archived":false,"fork":false,"pushed_at":"2020-05-12T19:31:40.000Z","size":6,"stargazers_count":8,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-12T22:55:20.129Z","etag":null,"topics":["crystal","crystal-lang","crystal-language","diff","git","myers-algorithm"],"latest_commit_sha":null,"homepage":null,"language":"Crystal","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/watzon.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,"dei":null}},"created_at":"2020-05-12T19:19:49.000Z","updated_at":"2023-09-01T12:51:37.000Z","dependencies_parsed_at":"2024-02-16T04:44:48.026Z","dependency_job_id":null,"html_url":"https://github.com/watzon/diff","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/watzon%2Fdiff","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/watzon%2Fdiff/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/watzon%2Fdiff/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/watzon%2Fdiff/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/watzon","download_url":"https://codeload.github.com/watzon/diff/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253837400,"owners_count":21971982,"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":["crystal","crystal-lang","crystal-language","diff","git","myers-algorithm"],"created_at":"2024-10-03T21:33:09.640Z","updated_at":"2025-05-12T22:55:26.050Z","avatar_url":"https://github.com/watzon.png","language":"Crystal","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Diff\n\nPure Crystal implementation of various diffing algorithms. Currently includes:\n\n- Myers\n- Myers (linear)\n\n## Installation\n\n1. Add the dependency to your `shard.yml`:\n\n   ```yaml\n   dependencies:\n     diff:\n       github: watzon/diff\n   ```\n\n2. Run `shards install`\n\n## Usage\n\n```crystal\nrequire \"diff\"\n\na = File.open(\"foo.cr\")\nb = File.open(\"foo_edited.cr\")\n\ndiff = Diff.new(a, b, Diff::MyersLinear)\nputs diff.to_s\n```\n\n## Contributing\n\n1. Fork it (\u003chttps://github.com/watzon/diff/fork\u003e)\n2. Create your feature branch (`git checkout -b my-new-feature`)\n3. Commit your changes (`git commit -am 'Add some feature'`)\n4. Push to the branch (`git push origin my-new-feature`)\n5. Create a new Pull Request\n\n## Contributors\n\n- [Chris Watson](https://github.com/watzon) - creator and maintainer\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwatzon%2Fdiff","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwatzon%2Fdiff","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwatzon%2Fdiff/lists"}