https://github.com/mlocati/zip-differ
Compare the contents of two ZIP files
https://github.com/mlocati/zip-differ
Last synced: 6 months ago
JSON representation
Compare the contents of two ZIP files
- Host: GitHub
- URL: https://github.com/mlocati/zip-differ
- Owner: mlocati
- License: mit
- Created: 2025-02-17T20:56:04.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2025-03-05T15:49:51.000Z (8 months ago)
- Last Synced: 2025-04-30T07:19:04.733Z (6 months ago)
- Language: Vue
- Homepage: https://mlocati.github.io/zip-differ/
- Size: 3.34 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://github.com/mlocati/zip-differ/actions/workflows/build.yml)
# Zip Differ
This tool allows you comparing the contents of ZIP archives, both loading them from your computer of from an URL (provided that it's correctly configured for [CORS](https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS)).
It's a client-only tool: the archives and their content never leave your computer.Do you want a sample demo? [Here it is](https://mlocati.github.io/zip-differ/?left=sample-data/a.zip&right=sample-data/b.zip).
## Start Options
Initial options can be specified via querystring parameters:
- `left` the URL of the left archive
- `right` the URL of the right archive
- `left.credentials` can be:
- `omit` to never send credentials when fetching the left archive from an URL
- `same-origin` (default) to send credentials for same-origin requests
- `include` to always send credentials
- `right.credentials` same as `left.credentials` but for the archive on the right
- `left.redirect` can be:
- `yes` (default) to follow redirects when fetching the left archive from an URL
- `no` to not follow redirects
- `right.redirect` same as `left.redirect` but for the archive on the right
- `autocompare` set to `yes` to automatically open the Compare view when the left and right URLs are specified.## Development
### Install dependencies (keeping the configured one)
```sh
npm ci
```### Install dependencies (updating to the latest available versions)
```sh
npm install
```### Build for development
```sh
npm run dev
```### Checking coding style
```sh
npm run lint
```### Fixing coding style
```sh
npm run lint:fix
```### Build for production
```sh
npm run build
```### Preview the app built for production
```sh
npm run preview
```