{"id":29624096,"url":"https://github.com/trifectatechfoundation/ziplinter","last_synced_at":"2025-07-21T05:32:33.463Z","repository":{"id":304295961,"uuid":"923596915","full_name":"trifectatechfoundation/ziplinter","owner":"trifectatechfoundation","description":"A zip file analyzer","archived":false,"fork":false,"pushed_at":"2025-07-16T13:13:01.000Z","size":1221,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-07-19T23:29:45.689Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","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/trifectatechfoundation.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE-APACHE","code_of_conduct":"CODE_OF_CONDUCT.md","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}},"created_at":"2025-01-28T14:35:21.000Z","updated_at":"2025-07-16T13:13:05.000Z","dependencies_parsed_at":"2025-07-13T03:46:16.965Z","dependency_job_id":null,"html_url":"https://github.com/trifectatechfoundation/ziplinter","commit_stats":null,"previous_names":["trifectatechfoundation/ziplinter"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/trifectatechfoundation/ziplinter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trifectatechfoundation%2Fziplinter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trifectatechfoundation%2Fziplinter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trifectatechfoundation%2Fziplinter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trifectatechfoundation%2Fziplinter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/trifectatechfoundation","download_url":"https://codeload.github.com/trifectatechfoundation/ziplinter/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trifectatechfoundation%2Fziplinter/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266244491,"owners_count":23898621,"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":[],"created_at":"2025-07-21T05:32:32.849Z","updated_at":"2025-07-21T05:32:33.448Z","avatar_url":"https://github.com/trifectatechfoundation.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![MIT OR Apache-2.0 licensed](https://img.shields.io/badge/license-MIT+Apache_2.0-blue.svg)](./LICENSE)\n\n# ziplinter \n\nA zip file analyzer\n\n## Installation\nInstall Rust as described [here](https://www.rust-lang.org/tools/install), then build the project using:\n\n```\ncargo build --release\n```\n\nOptionally, you can enable traces when building to print additional debug information:\n```\ncargo build --release --features tracing\n```\n\n## Usage\nOnce the project is built, you can run the ziplinter by giving it a path to a zip file:\n```\n./target/release/ziplinter ./testdata/test.zip\n```\nZiplinter will then read the zip to gather metadata, which is then printed to standard output in JSON format. The JSON format contains the following properties:\n- `comment`: the top level archive comment\n- `contents`: the metadata for the files in zip, both from the central directory and from the local file headers\n- `encoding`: the text encoding used, e.g. `Utf8`\n- `eocd`: the end of central directory information, which is used to locate the central directory\n- `size`: the size of the zip file in bytes\n- `parsed_ranges`: a list of the ranges within the zip file that were parsed\n\nSee the [snapshots folder](https://github.com/trifectatechfoundation/ziplinter/tree/main/ziplinter/src/snapshots) for examples of the JSON output for the various test zips from the `testdata` directory.\n\n## Thanks\n\nThe internals heavily rely on [rc-zip](https://github.com/bearcove/rc-zip). We'd use it as a dependency, but need access to some internals that don't make much sense for a general audience. So, this is basically a fork that exposes more things.\n\n## License\n\nThis project is primarily distributed under the terms of both the MIT license\nand the Apache License (Version 2.0).\n\nSee [LICENSE-APACHE](LICENSE-APACHE) and [LICENSE-MIT](LICENSE-MIT) for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrifectatechfoundation%2Fziplinter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftrifectatechfoundation%2Fziplinter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrifectatechfoundation%2Fziplinter/lists"}