{"id":18053804,"url":"https://github.com/hymkor/uncozip","last_synced_at":"2025-07-24T14:38:47.606Z","repository":{"id":65552151,"uuid":"588693145","full_name":"hymkor/uncozip","owner":"hymkor","description":"UNzip COrrupted ZIP file that does not have the central directory records.","archived":false,"fork":false,"pushed_at":"2024-02-19T00:58:57.000Z","size":151,"stargazers_count":13,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-10T22:53:20.161Z","etag":null,"topics":["golang","salvage","solva","unzip","zip"],"latest_commit_sha":null,"homepage":"https://pkg.go.dev/github.com/hymkor/uncozip","language":"Go","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/hymkor.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-01-13T18:52:44.000Z","updated_at":"2024-12-02T06:57:11.000Z","dependencies_parsed_at":"2024-06-19T06:10:47.050Z","dependency_job_id":"04f2e298-e712-4d63-b935-afae52b47400","html_url":"https://github.com/hymkor/uncozip","commit_stats":{"total_commits":157,"total_committers":1,"mean_commits":157.0,"dds":0.0,"last_synced_commit":"1006e48192e8d3ee839eab270a39caae5ababa4a"},"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"purl":"pkg:github/hymkor/uncozip","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hymkor%2Funcozip","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hymkor%2Funcozip/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hymkor%2Funcozip/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hymkor%2Funcozip/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hymkor","download_url":"https://codeload.github.com/hymkor/uncozip/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hymkor%2Funcozip/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266856905,"owners_count":23995762,"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","status":"online","status_checked_at":"2025-07-24T02:00:09.469Z","response_time":99,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["golang","salvage","solva","unzip","zip"],"created_at":"2024-10-31T00:08:06.357Z","updated_at":"2025-07-24T14:38:47.179Z","avatar_url":"https://github.com/hymkor.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![GoDev](https://pkg.go.dev/badge/github.com/hymkor/uncozip)](https://pkg.go.dev/github.com/hymkor/uncozip)\r\n\r\nuncozip\r\n=======\r\n\r\nThis is a command and package to UNzip COrrupted ZIP file that does not have the central directory records.\r\n\r\nEven when the archive is so large that `zip -FF Corrupted.zip --out New.zip` fails, sometimes uncozip succeeds.  \r\n( For example, the case Corrupted.zip is larger than 4GB )\r\n\r\nThe uncozip is also useful on non-Windows OSes to unpack archives with non-UTF8 filenames such as Shift_JIS.\r\n(`uncozip -decode Shift_JIS foo.zip`)\r\n\r\nUsage\r\n-----\r\n\r\n```\r\nuncozip {OPTIONS} ZIPFILENAME [list...]\r\n\r\nuncozip {OPTIONS} - [list...] \u003c ZIPFILENAME\r\n\r\nuncozip {OPTIONS} \u003c ZIPFILENAME\r\n```\r\n\r\n* `-d string` the directory where to extract\r\n* `-debug` Enable debug output\r\n* `-strict` quit immediately on CRC-Error\r\n* `-t` Test CRC32 only\r\n* `-decode IANA-NAME` specify [IANA-registered-name][iana] to decode filename when UTF8 flag is not set (for example: `-decode Shift_JIS`)\r\n\r\n[iana]: https://www.iana.org/assignments/character-sets/character-sets.xhtml\r\n\r\nInstall\r\n-------\r\n\r\nDownload the binary package from [Releases](https://github.com/hymkor/uncozip/releases) and extract the executable.\r\n\r\n### for scoop-installer\r\n\r\n```\r\nscoop install https://raw.githubusercontent.com/hymkor/uncozip/master/uncozip.json\r\n```\r\n\r\nor\r\n\r\n```\r\nscoop bucket add hymkor https://github.com/hymkor/scoop-bucket\r\nscoop install uncozip\r\n```\r\n\r\npackage \"github.com/hymkor/uncozip\"\r\n===================================\r\n\r\nUnlike \"[archive/zip]\", uncozip can\r\n\r\n- read an archive from io.Reader.  \r\n  ( \"[archive/zip]\" requires archive's filename[^zip.OpenReader] or io.ReaderAt and size information[^zip.NewReader] )\r\n- handle encrypted archive.  \r\n  ( You have to call [RegisterPasswordHandler] )\r\n- decode filename from any encoding  \r\n  ( You have to call [RegisterNameDecoder] )\r\n\r\n[archive/zip]: https://pkg.go.dev/archive/zip\r\n[RegisterPasswordHandler]: https://pkg.go.dev/github.com/hymkor/uncozip#CorruptedZip.RegisterPasswordHandler\r\n[RegisterNameDecoder]: https://pkg.go.dev/github.com/hymkor/uncozip#CorruptedZip.RegisterNameDecoder\r\n[^zip.OpenReader]: See also https://pkg.go.dev/archive/zip#OpenReader\r\n[^zip.NewReader]: See also https://pkg.go.dev/archive/zip#NewReader\r\n\r\n[Reference](https://pkg.go.dev/github.com/hymkor/uncozip)\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhymkor%2Funcozip","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhymkor%2Funcozip","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhymkor%2Funcozip/lists"}