{"id":16478726,"url":"https://github.com/imrajdas/diffr","last_synced_at":"2025-02-28T13:57:11.520Z","repository":{"id":190861429,"uuid":"683329882","full_name":"imrajdas/diffr","owner":"imrajdas","description":"Diffr is an open-source web-based tool designed to make comparing content differences between two directories, and even files, a simple and intuitive process","archived":false,"fork":false,"pushed_at":"2023-08-29T18:36:15.000Z","size":430,"stargazers_count":3,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-11T07:32:50.364Z","etag":null,"topics":["compare-files","diff","diff-checker","diffchecker","file-diff","syntax-highlighting","unified-diffs","yaml"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/imrajdas.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":"2023-08-26T08:05:57.000Z","updated_at":"2024-08-31T06:57:09.000Z","dependencies_parsed_at":null,"dependency_job_id":"423a2a2a-4d87-412e-8a88-e51be0710471","html_url":"https://github.com/imrajdas/diffr","commit_stats":null,"previous_names":["imrajdas/diffr"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imrajdas%2Fdiffr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imrajdas%2Fdiffr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imrajdas%2Fdiffr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imrajdas%2Fdiffr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/imrajdas","download_url":"https://codeload.github.com/imrajdas/diffr/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241162295,"owners_count":19920370,"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":["compare-files","diff","diff-checker","diffchecker","file-diff","syntax-highlighting","unified-diffs","yaml"],"created_at":"2024-10-11T12:50:01.634Z","updated_at":"2025-02-28T13:57:11.497Z","avatar_url":"https://github.com/imrajdas.png","language":"Go","readme":"# Diffr - Simplifying Directory and File Content Comparison\n\n![GitHub Workflow](https://github.com/imrajdas/diffr/actions/workflows/build-check.yml/badge.svg?branch=main)\n[![GitHub stars](https://img.shields.io/github/stars/imrajdas/diffr?style=social)](https://github.com/imrajdas/diffr/stargazers)\n[![GitHub Release](https://img.shields.io/github/release/imrajdas/diffr.svg?style=flat)]()\n\n\nDiffr is an open-source web-based tool designed to make comparing content differences between two directories, and even files, a simple and intuitive process. Whether you're a developer comparing source code, a designer comparing image assets, or anyone dealing with files, Diffr provides a user-friendly interface to quickly identify changes and similarities between directories and files.\n\nVisit the project on GitHub: [https://github.com/imrajdas/diffr](https://github.com/imrajdas/diffr)\n\n\u003cimg src=\"./static/images/demo.png\"\u003e\n\n## Table of Contents\n\n- [Installation](#installation)\n- [Build](#build)\n- [Usage](#usage)\n- [Commands](#commands)\n- [Flags](#flags)\n- [Examples](#examples)\n- [Contributing](#contributing)\n- [License](#license)\n\n## Installation\n\nDiffr is designed to be cross-platform and should work on various operating systems, including:\n\n* Linux\n* macOS\n* Windows\n\nDownload the latest release for your operating system from here- [https://github.com/imrajdas/diffr/releases](https://github.com/imrajdas/diffr/releases)\n\n### Linux/MacOS\n\n* Extract the binary\n\n```shell\ntar -zxvf diffr-\u003cOS\u003e-\u003cARCH\u003e-\u003cVERSION\u003e.tar.gz\n```\n\n* Provide necessary permissions\n\n```shell\nchmod +x diffr\n```\n\n* Move the diffr binary to /usr/local/bin/diffr\n\n```shell\nsudo mv diffr /usr/local/bin/diffr\n```\n\n* Run Diffr on Linux/MacOS:\n\n```shell\ndiffr [dir1/file1] [dir2/file2] [flags]\n```\n\n### Windows\n\n* Extract the Binary from the Zip Archive\n\n* Check the Diffr Version\n\n```shell\ndiffr.exe \u003ccommand\u003e \u003csubcommand\u003e \u003csubcommand\u003e [options and parameters]\n```\n\n* To check the version of the diffr:\n\n```shell\ndiffr version\n```\n\n## Build\n\nTo use Diffr, you need to have [Go](https://golang.org/) installed on your system. Once you have Go set up, you can install Diffr using the following command:\n\n```bash\ngit clone https://github.com/imrajdas/diffr\ngo get -v\ngo build main.go -o diffr\n\n./diffr --help\n```\n\n## Usage\n\nDiffr simplifies the process of comparing content differences between two directories or files. The basic usage is as follows:\n\n```bash\ndiffr [dir1/file1] [dir2/file2] [flags]\n```\n\nYou can also use the command to access specific features:\n\n```bash\ndiffr [command]\n```\n\n## Commands\n\nDiffr supports the following commands:\n\n- `help`: Displays help information about any command.\n- `version`: Displays the version of Diffr.\n\n## Flags\n\nDiffr provides the following flags to customize its behavior:\n\n- `-a, --address string`: Set the address for the web server to listen on. The default is `http://localhost`.\n- `-h, --help`: Display help information about Diffr.\n- `-p, --port int`: Set the port for the web server to listen on. The default is `8675`.\n\n## Examples\n\nHere are some examples of how to use Diffr:\n\n```bash\n# Compare contents of two directories\ndiffr /path/to/dir1 /path/to/dir2\n\n# Compare contents of two files\ndiffr /path/to/file1 /path/to/file2\n\n# Compare contents with custom server address and port\ndiffr /path/to/dir1 /path/to/dir2 -a http://127.0.0.1 -p 9000\n```\n\n## Contributing\n\nContributions to Diffr are welcomed and encouraged! If you find a bug or have a feature request, please open an issue on the [GitHub repository](https://github.com/imrajdas/diffr). If you'd like to contribute code, feel free to fork the repository and submit a pull request.\n\n## License\n\nDiffr is released under the [Apache](LICENSE). You are free to use, modify, and distribute this software in accordance with the terms of the license.\n\n---\n\nDiffr makes directory and file content comparison hassle-free, allowing you to focus on identifying differences rather than dealing with complex tools. Give it a try, and make directory and file comparison a breeze!","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimrajdas%2Fdiffr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fimrajdas%2Fdiffr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimrajdas%2Fdiffr/lists"}