{"id":17788687,"url":"https://github.com/devel0/odiff","last_synced_at":"2025-08-10T00:07:27.723Z","repository":{"id":122983021,"uuid":"203459061","full_name":"devel0/odiff","owner":"devel0","description":"Shows only difference between files","archived":false,"fork":false,"pushed_at":"2019-11-01T14:29:16.000Z","size":19,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-13T20:22:28.399Z","etag":null,"topics":["diff","linux","netcore","tool"],"latest_commit_sha":null,"homepage":"","language":"C#","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/devel0.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":"2019-08-20T21:45:13.000Z","updated_at":"2020-07-27T00:20:59.000Z","dependencies_parsed_at":null,"dependency_job_id":"db37eca2-6d36-4b1f-90bf-ed01352a8dc0","html_url":"https://github.com/devel0/odiff","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/devel0/odiff","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devel0%2Fodiff","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devel0%2Fodiff/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devel0%2Fodiff/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devel0%2Fodiff/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/devel0","download_url":"https://codeload.github.com/devel0/odiff/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devel0%2Fodiff/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269654991,"owners_count":24454354,"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","status":"online","status_checked_at":"2025-08-09T02:00:10.424Z","response_time":111,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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","linux","netcore","tool"],"created_at":"2024-10-27T10:20:49.271Z","updated_at":"2025-08-10T00:07:27.660Z","avatar_url":"https://github.com/devel0.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# odiff\n\n[![NuGet Badge](https://buildstats.info/nuget/odiff)](https://www.nuget.org/packages/odiff/)\n\nOnlyDiff\n\n- [Quickstart](#quickstart)\n- [command line](#command-line)\n- [test](#test)\n- [How this project was built](#how-this-project-was-built)\n\n\u003chr/\u003e\n\n## Quickstart\n\n- Requirements: [Download NET Core SDK](https://dotnet.microsoft.com/download)\n- Install the tool:\n\n```sh\ndotnet tool update -g odiff\n```\n\n- if `~/.dotnet/tools` dotnet global tool isn't in path it can be added to your `~/.bashrc`\n\n```sh\necho 'export PATH=$PATH:~/.dotnet/tools' \u003e\u003e ~/.bashrc\n```\n\n## command line\n\n```sh\n\nUsage: odiff FLAGS file1 file2\n\nShows only difference between files\n\nOptional flags:\n\n  -s,--all-stats          shows all stats informations\n  -d,--show-differences   shows characters difference\n\nParameters:\n\n  file1                   first file\n  file2                   second file\n\n```\n\n## usage\n\nthis tool is useful to compare two big files with minor changes between and to view them\n\n```sh\ndevel0@tuf:~$ odiff -s -d /home/devel0/tmp/test1 /home/devel0/tmp/test | less\n\n                                 file1       file2\n--------------------------------------------------\nmax changed chars per line           1           1\nsize                         120850129   120506488\nlines                           343641      343641\nline differs                    343641      343641\nline differs (%)                 100.0       100.0\nchar differs                    343641           0\nchar differs (%)                   0.3         0.0\n\nfile1 | file2\n,     |      \n,     |      \n,     |      \n,     |      \n,     |      \n,     |      \n```\n\n## How this project was built\n\n```sh\nmkdir odiff\ncd odiff\n\ndotnet new sln\ndotnet new console -n odiff\n\ncd odiff\ndotnet add package netcore-util --version 1.0.21\ncd ..\n\ndotnet sln add odiff\ndotnet build\ndotnet run -p odiff\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevel0%2Fodiff","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevel0%2Fodiff","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevel0%2Fodiff/lists"}