{"id":20575188,"url":"https://github.com/mysterywolf/minizip","last_synced_at":"2025-04-14T17:52:17.302Z","repository":{"id":43084092,"uuid":"366733522","full_name":"mysterywolf/minizip","owner":"mysterywolf","description":"zip manipulation library | zip压缩解压库","archived":false,"fork":false,"pushed_at":"2023-07-27T14:49:04.000Z","size":62,"stargazers_count":13,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-28T06:22:51.533Z","etag":null,"topics":["minizip","rt-thread","zip","zlib"],"latest_commit_sha":null,"homepage":"","language":"C","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/mysterywolf.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}},"created_at":"2021-05-12T13:55:10.000Z","updated_at":"2024-11-05T15:39:47.000Z","dependencies_parsed_at":"2022-09-06T03:22:18.182Z","dependency_job_id":null,"html_url":"https://github.com/mysterywolf/minizip","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mysterywolf%2Fminizip","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mysterywolf%2Fminizip/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mysterywolf%2Fminizip/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mysterywolf%2Fminizip/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mysterywolf","download_url":"https://codeload.github.com/mysterywolf/minizip/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248931347,"owners_count":21185164,"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":["minizip","rt-thread","zip","zlib"],"created_at":"2024-11-16T05:38:26.574Z","updated_at":"2025-04-14T17:52:17.269Z","avatar_url":"https://github.com/mysterywolf.png","language":"C","funding_links":[],"categories":["Packages"],"sub_categories":["Misc"],"readme":"# minizip for RT-Thread\n\n[minizip](http://www.winimage.com/zLibDll/minizip.html)是依托于[zlib软件包](https://github.com/RT-Thread-packages/zlib)的一个zip格式解、压缩的软件包。minizip是zlib官方认可的一个第三方库。\n\n教程：https://blog.csdn.net/whahu1989/article/details/80344373\n\n\n## 主要接口文件\n\n- zip.c：负责将多文件压缩为zip压缩包相关\n- unzip.c：负责zip压缩包解压相关 \n\n\n\n## 提供命令2个\n\n### 1. miniunz 解压命令\n\n负责解压zip压缩包，命令如下：\n\n```shell\nUsage : miniunz [-e] [-x] [-v] [-l] [-o] [-p password] file.zip [file_to_extr.] [-d extractdir]\n\n  -e  Extract without pathname (junk paths)\n  -x  Extract with pathname\n  -v  list files\n  -l  list files\n  -d  directory to extract into\n  -o  overwrite files without prompting\n  -p  extract crypted file using password\n```\n\n### 2. minizip 压缩命令\n\n负责将多文件压缩为zip压缩包，命令如下：\n\n```shell\nUsage : minizip [-o] [-a] [-0 to -9] [-p password] file.zip [files_to_add]\n\n  -o  Overwrite existing file.zip\n  -a  Append to existing file.zip\n  -0  Store only\n  -1  Compress faster\n  -9  Compress better\n```\n\n\n\n## 如何获取软件包\n\n```\nRT-Thread online package -\u003e \n     miscellaneous package -\u003e \n         [*] minizip: zip manipulation library ---\u003e\n```\n\n\n\n## 注意\n\n如果只是列出zip压缩包的文件，该操作不会占用多少内存。但是如果要进行解、压缩操作，需要占用很大的内存，至少300KB左右，建议使用配备外置SRAM的开发板进行尝试。\n\n\n\n## 维护\n\n[Meco Man](https://github.com/mysterywolf) @ RT-Thread Community\n\nhttps://github.com/mysterywolf/minizip\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmysterywolf%2Fminizip","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmysterywolf%2Fminizip","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmysterywolf%2Fminizip/lists"}