{"id":23663793,"url":"https://github.com/daimaou92/difflore","last_synced_at":"2025-12-06T13:30:14.499Z","repository":{"id":97269000,"uuid":"500383415","full_name":"daimaou92/difflore","owner":"daimaou92","description":"figuring out text diffs from zero","archived":false,"fork":false,"pushed_at":"2022-06-07T13:40:34.000Z","size":7,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-12-29T05:34:01.528Z","etag":null,"topics":["diff","learning-by-doing","myers-algorithm","rust","rust-lang"],"latest_commit_sha":null,"homepage":"","language":"Rust","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/daimaou92.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,"publiccode":null,"codemeta":null}},"created_at":"2022-06-06T10:13:27.000Z","updated_at":"2022-06-07T13:41:02.000Z","dependencies_parsed_at":null,"dependency_job_id":"dda2cdd0-a761-4ac6-962c-ee8d2db17e8d","html_url":"https://github.com/daimaou92/difflore","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/daimaou92%2Fdifflore","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daimaou92%2Fdifflore/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daimaou92%2Fdifflore/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daimaou92%2Fdifflore/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/daimaou92","download_url":"https://codeload.github.com/daimaou92/difflore/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239662729,"owners_count":19676435,"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":["diff","learning-by-doing","myers-algorithm","rust","rust-lang"],"created_at":"2024-12-29T05:33:22.941Z","updated_at":"2025-12-06T13:30:14.450Z","avatar_url":"https://github.com/daimaou92.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Learning text diffs [rust]\n\n### Steps\n1. `file1` and `file2` in `\u003croot\u003e/` directory are taken as inputs\n2. `file1` is treated as the original file. `file2` is treated as the new one.\n3. Run the [Myers Diff algorithm](https://neil.fraser.name/writing/diff/myers.pdf)\non them using `cargo run --bin myers`\n4. Every deleted line is printed begining with `- `\n5. Prefix for additions is `+ ` and for identical lines its two blank spaces.\n\n### Thanks\n1. [Awesome explanation of Myer's Algo](https://blog.jcoglan.com/2017/02/12/the-myers-diff-algorithm-part-1/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdaimaou92%2Fdifflore","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdaimaou92%2Fdifflore","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdaimaou92%2Fdifflore/lists"}