{"id":18396843,"url":"https://github.com/kemokemo/htmldiff","last_synced_at":"2025-09-01T14:44:06.852Z","repository":{"id":64306178,"uuid":"273818981","full_name":"kemokemo/htmldiff","owner":"kemokemo","description":"This tool compares old and new versions of html and generates color-coded html in a diff format.","archived":false,"fork":false,"pushed_at":"2024-04-19T11:41:26.000Z","size":282,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-12T15:59:09.561Z","etag":null,"topics":["cli","go","golang","html-diff"],"latest_commit_sha":null,"homepage":"","language":"Go","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/kemokemo.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":"2020-06-21T02:19:07.000Z","updated_at":"2023-02-13T11:58:39.000Z","dependencies_parsed_at":"2024-06-20T05:54:16.268Z","dependency_job_id":"08c0df3b-1d3c-4302-8957-b3317068eebc","html_url":"https://github.com/kemokemo/htmldiff","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/kemokemo/htmldiff","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kemokemo%2Fhtmldiff","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kemokemo%2Fhtmldiff/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kemokemo%2Fhtmldiff/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kemokemo%2Fhtmldiff/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kemokemo","download_url":"https://codeload.github.com/kemokemo/htmldiff/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kemokemo%2Fhtmldiff/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273143321,"owners_count":25053122,"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-09-01T02:00:09.058Z","response_time":120,"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":["cli","go","golang","html-diff"],"created_at":"2024-11-06T02:15:00.799Z","updated_at":"2025-09-01T14:44:06.794Z","avatar_url":"https://github.com/kemokemo.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# htmldiff\n\n[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT) [![test-and-build](https://github.com/kemokemo/htmldiff/actions/workflows/test-and-build.yml/badge.svg)](https://github.com/kemokemo/htmldiff/actions/workflows/test-and-build.yml)\n\nThis tool compares old and new versions of html and generates color-coded html in a diff format.\n\n![htmldiff-samle](images/htmldiff-sample.png)\n\n## Install\n\n### Homebrew\n\n```sh\nbrew install kemokemo/tap/htmldiff\n```\n\n### Scoop\n\nFirst, add my scoop-bucket.\n\n```sh\nscoop bucket add kemokemo-bucket https://github.com/kemokemo/scoop-bucket.git\n```\n\nNext, install this app by running the following.\n\n```sh\nscoop install htmldiff\n```\n\n### Binary\n\nGet the latest version from [the release page](https://github.com/kemokemo/htmldiff/releases/latest), and download the archive file for your operating system/architecture. Unpack the archive, and put the binary somewhere in your `$PATH`.\n\n## Usage\n\n```sh\n$ htmldiff -h\nUsage: htmldiff [\u003coption\u003e...] \u003cold html\u003e \u003cnew html\u003e\n  -h\tdisplay help\n  -nh\n    \ttrue: use new header, false: use old header (default true)\n  -o string\n    \toutput filename (default \"diff.html\")j\n```\n\nWhen comparing two html files, you need to choose which header to use. By default, it uses the new header. To use the header of the old html file, set `-nh=false` flag. ( `-nh` means \"use **n**ew **h**eader\". )\n\n### Example\n\n```sh\nhtmldiff -o=diff/index.html v1/index.html v2/index.html\n```\n\nIf you use the header of `v1/index.html`, set `-nh=false` flag.\n\n```sh\nhtmldiff -o=diff/index.html -nh=false v1/index.html v2/index.html\n```\n\n## License\n\n[MIT](https://github.com/kemokemo/htmldiff/blob/main/LICENSE)\n\n## Author\n\n[kemokemo](https://github.com/kemokemo)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkemokemo%2Fhtmldiff","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkemokemo%2Fhtmldiff","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkemokemo%2Fhtmldiff/lists"}