{"id":23096600,"url":"https://github.com/aydgn/diff-zip","last_synced_at":"2026-05-04T05:43:41.534Z","repository":{"id":217751447,"uuid":"744688208","full_name":"aydgn/diff-zip","owner":"aydgn","description":"DiffZip is a CLI tool that compares two Git branches and zips up the changed files.","archived":false,"fork":false,"pushed_at":"2024-01-22T09:59:32.000Z","size":29,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-12T04:08:10.211Z","etag":null,"topics":["branch","diff","git","zip"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/git-diff-zip","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aydgn.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2024-01-17T20:05:02.000Z","updated_at":"2024-01-22T09:34:43.000Z","dependencies_parsed_at":"2024-12-16T22:39:52.545Z","dependency_job_id":"342f5d20-4dcf-4a80-9b34-1df551a2595c","html_url":"https://github.com/aydgn/diff-zip","commit_stats":null,"previous_names":["aydgn/diff-zip"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aydgn%2Fdiff-zip","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aydgn%2Fdiff-zip/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aydgn%2Fdiff-zip/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aydgn%2Fdiff-zip/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aydgn","download_url":"https://codeload.github.com/aydgn/diff-zip/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247070769,"owners_count":20878581,"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":["branch","diff","git","zip"],"created_at":"2024-12-16T22:39:37.939Z","updated_at":"2026-05-04T05:43:36.498Z","avatar_url":"https://github.com/aydgn.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DiffZip: Effortlessly compare and archive your Git branch changes\n\nDiffZip is a command-line interface (CLI) tool that simplifies the process of creating ZIP archives containing the differences between two Git branches.\n\nThis tool is especially useful for web developers working with FTP deployments, allowing them to selectively upload only the changed files without the risk of affecting unrelated modifications.\n\n## Why DiffZip?\n\nAs a web developer, you may face the challenge of efficiently deploying changes to a server without disrupting existing configurations.\n\nTraditional methods involve manually identifying and uploading changed files, which can be tedious and error-prone.\n\nDiffZip takes the hassle out of the equation by automating the process, making it easy to create a ZIP archive specifically tailored to the modifications between two Git branches.\n\n## What DiffZip Does (How It Works)\n\nDiffZip uses Git's `git diff` command to identify and extract files that have changed between two specified branches. It then compiles these changes into a ZIP archive, providing a straightforward solution for deploying only the necessary files.\n\n## Requirements\n\nTo use DiffZip, you need to have the following installed on your system:\n\n- **Git:** DiffZip relies on Git to compare and extract the changed files. You can download and install Git from [here](https://git-scm.com/downloads).\n- **Node.js:** DiffZip is written in JavaScript and runs on Node.js. You can download and install Node.js from [here](https://nodejs.org/en/download/).\n\n## Get started in a snap\n\n### Option 1: Run without Installation (Recommended)\n\n```bash\nnpx git-diff-zip\n```\n\nFollow the on-screen instructions to select the branches and create the ZIP archive.\n\n### Option 2: Install Globally\n\n```bash\nnpm install -g git-diff-zip\n```\n\nAfter installation, run the following command in any directory:\n\n```bash\ngit-diff-zip\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faydgn%2Fdiff-zip","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faydgn%2Fdiff-zip","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faydgn%2Fdiff-zip/lists"}