{"id":47610609,"url":"https://github.com/tonymilton/zip-tight","last_synced_at":"2026-04-01T20:02:14.470Z","repository":{"id":345794785,"uuid":"1187433006","full_name":"TonyMilton/zip-tight","owner":"TonyMilton","description":"An opinionated, fast CLI zip archiver that respects .gitignore","archived":false,"fork":false,"pushed_at":"2026-03-20T19:25:11.000Z","size":17,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-03-21T09:05:09.925Z","etag":null,"topics":["compress","utils","zip"],"latest_commit_sha":null,"homepage":"https://www.tonymilton.dev","language":"Rust","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/TonyMilton.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-03-20T18:08:21.000Z","updated_at":"2026-03-20T19:25:14.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/TonyMilton/zip-tight","commit_stats":null,"previous_names":["tonymilton/zip-tight"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/TonyMilton/zip-tight","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TonyMilton%2Fzip-tight","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TonyMilton%2Fzip-tight/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TonyMilton%2Fzip-tight/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TonyMilton%2Fzip-tight/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TonyMilton","download_url":"https://codeload.github.com/TonyMilton/zip-tight/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TonyMilton%2Fzip-tight/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31291338,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-01T13:12:26.723Z","status":"ssl_error","status_checked_at":"2026-04-01T13:12:25.102Z","response_time":53,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["compress","utils","zip"],"created_at":"2026-04-01T20:01:47.429Z","updated_at":"2026-04-01T20:02:14.459Z","avatar_url":"https://github.com/TonyMilton.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ZipTight\n\nAn opinionated, fast CLI zip archiver that produces clean zip files from project directories by automatically excluding `.git`, `node_modules`, `*.env` files, and files matched by `.gitignore` rules.\n\n## Install\n\n### Quick install (macOS / Linux)\n\n```sh\ncurl -sL https://raw.githubusercontent.com/TonyMilton/zip-tight/main/install.sh | bash\n```\n\nThis detects your OS and architecture, downloads the latest binary to `~/.local/bin`, and updates your shell PATH if needed. After installing, restart your shell or run:\n\n```sh\n# bash\nsource ~/.bashrc\n\n# zsh\nsource ~/.zshrc\n```\n\n### From source\n\n```sh\ncargo install --path .\n```\n\n### Windows\n\nDownload the `.zip` from the [Releases](https://github.com/TonyMilton/zip-tight/releases) page, extract `ziptight.exe`, and add its location to your PATH via System \u003e Environment Variables.\n\n## Usage\n\n```sh\n# Zip current directory\nziptight\n\n# Zip a specific directory\nziptight ./my-project\n\n# Zip with a custom output path\nziptight ./my-project archive.zip\n\n# Exclude additional patterns\nziptight -e \"*.log\" -e \"dist/\"\n\n# Preview what would be included\nziptight --dry-run\n\n# See every file as it's processed\nziptight --verbose\n\n# Use maximum compression\nziptight --level 9\n\n# Use fastest compression\nziptight --level 1\n```\n\n## Options\n\n| Flag | Description |\n|---|---|\n| `SOURCE` | Directory to zip (default: `.`) |\n| `OUTPUT` | Output zip path (default: `\u003cdir-name\u003e.zip`) |\n| `-e, --extra-exclude` | Additional glob patterns to exclude (repeatable) |\n| `--no-default-excludes` | Include `.git/`, `node_modules/`, and `*.env` |\n| `--no-gitignore` | Ignore `.gitignore` rules |\n| `-l, --level` | Deflate compression level 1-9 (1=fastest, 9=smallest, default: 6) |\n| `-v, --verbose` | Print each included file |\n| `--dry-run` | List files without creating a zip |\n\n## How it works\n\nZipTight walks the source directory using the [`ignore`](https://crates.io/crates/ignore) crate (from ripgrep), which provides Git-compatible `.gitignore` parsing with proper cascading at every directory depth. Files are streamed in chunks and compressed with deflate into a standard zip archive, with a real-time progress bar showing bytes processed and throughput.\n\nBy default, `.git/`, `node_modules/`, and `*.env` files are excluded at any depth. The output zip file is automatically excluded if it resides within the source directory. Symlinks to files are followed; symlinks to directories are skipped to avoid cycles.\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftonymilton%2Fzip-tight","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftonymilton%2Fzip-tight","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftonymilton%2Fzip-tight/lists"}