{"id":19861270,"url":"https://github.com/tannheuser/diffwebapi","last_synced_at":"2026-05-19T04:06:48.615Z","repository":{"id":73223505,"uuid":"86695527","full_name":"Tannheuser/DiffWebApi","owner":"Tannheuser","description":null,"archived":false,"fork":false,"pushed_at":"2017-03-31T11:27:20.000Z","size":20,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-28T00:05:54.717Z","etag":null,"topics":["asp-net-core","dotnet-core","xunit-tests"],"latest_commit_sha":null,"homepage":null,"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/Tannheuser.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":"2017-03-30T11:35:35.000Z","updated_at":"2017-03-30T13:34:15.000Z","dependencies_parsed_at":"2023-09-19T11:31:31.304Z","dependency_job_id":null,"html_url":"https://github.com/Tannheuser/DiffWebApi","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Tannheuser/DiffWebApi","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tannheuser%2FDiffWebApi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tannheuser%2FDiffWebApi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tannheuser%2FDiffWebApi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tannheuser%2FDiffWebApi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Tannheuser","download_url":"https://codeload.github.com/Tannheuser/DiffWebApi/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tannheuser%2FDiffWebApi/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33201543,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-18T09:27:30.708Z","status":"online","status_checked_at":"2026-05-19T02:00:06.763Z","response_time":58,"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":["asp-net-core","dotnet-core","xunit-tests"],"created_at":"2024-11-12T15:08:31.178Z","updated_at":"2026-05-19T04:06:48.573Z","avatar_url":"https://github.com/Tannheuser.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DiffWebApi\n\n## Features\nThis API provides 2 http endpoints (`\u003chost\u003e/v1/diff/\u003cID\u003e/left` and `\u003chost\u003e/v1/diff/\u003cID\u003e/right`) that accept JSON containing base64 encoded binary data on both endpoints.\nThe provided data will be diff-ed and the results will be available on a third end point (`\u003chost\u003e/v1/diff/\u003cID\u003e`). \nThe results provide the following info in JSON format: \n```\n- Return if both equal\n- Return if size is not equal\n- If of same size, provides insight in where the diff are\n```\n\n## Required technology\n.NET Core 1.1\n\n## Sample input/output\n| Request | Response |\n| ---  | --- |\n| GET /v1/diff/1        | 404 Not Found      |\n| POST /v1/diff/1/left {\"data\": \"aGVsbG8=\"}\t                  | 201 Created  |  \n| POST /v1/diff/1/right {\"data\": \"aGVsbG8=\"}                  | 201 Created  |\n| GET /v1/diff/1 |200 OK {\"diffResultType\": \"Equals\"}         |\n|    |   |\n| POST /v1/diff/1/left {\"data\": \"aGVsbG9mZg==\"}               | 201 Created  |\n| GET /v1/diff/1 |200 OK {\"diffResultType\": \"SizeDoNotMatch\"} |\n|    |   |\n| POST /v1/diff/1/left {\"data\": \"aGVycm8=\"}                   | 201 Created    |\n| GET /v1/diff/1                                              |200 OK {\"diffResultType\": \"ContentDoNotMatch\", \"diffs\": [{\"offset\": 2, \"length\": 2}} |\n\n## Installation\n\nSolution could be started from you preferable IDE like Microsoft Visual Studio, Visual Studio Code or Jetbrains Rider.\nAlso you could do it manually from console/terminal following this short instruction:\n\n- Navigate to the root solution folder and call `dotnet restore` command\n- Navigate to the Web project folder `DiffWebApi.Web` and call `dotnet run` command\n\n## Tests\n\nTests are written using xUnit testing framework and could be started from you preferable IDE like Microsoft Visual Studio.\nAlso you could do it manually from console/terminal following this short instruction:\n\n- Navigate to the root solution folder and call `dotnet build` command\n- Navigate to the Tests project folder `DiffWebApi.Tests` and call `dotnet test` command\n\n## License\n\nMIT","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftannheuser%2Fdiffwebapi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftannheuser%2Fdiffwebapi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftannheuser%2Fdiffwebapi/lists"}