{"id":17689564,"url":"https://github.com/deadpikle/libzip-plus-plus","last_synced_at":"2025-04-22T17:28:21.145Z","repository":{"id":118547350,"uuid":"134427235","full_name":"Deadpikle/libzip-plus-plus","owner":"Deadpikle","description":"A libzip C++ wrapper originally built by markand","archived":false,"fork":false,"pushed_at":"2020-08-11T15:58:54.000Z","size":253,"stargazers_count":5,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-29T17:12:52.740Z","etag":null,"topics":["cplusplus","cpp","libzip","libzip-wrappers","zip"],"latest_commit_sha":null,"homepage":"http://hg.markand.fr/libzip/","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Deadpikle.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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":"2018-05-22T14:25:25.000Z","updated_at":"2025-02-08T05:56:59.000Z","dependencies_parsed_at":null,"dependency_job_id":"a3b10489-6e3d-4e0f-a9e8-d309a3af8eae","html_url":"https://github.com/Deadpikle/libzip-plus-plus","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/Deadpikle%2Flibzip-plus-plus","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Deadpikle%2Flibzip-plus-plus/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Deadpikle%2Flibzip-plus-plus/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Deadpikle%2Flibzip-plus-plus/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Deadpikle","download_url":"https://codeload.github.com/Deadpikle/libzip-plus-plus/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250286759,"owners_count":21405498,"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":["cplusplus","cpp","libzip","libzip-wrappers","zip"],"created_at":"2024-10-24T11:48:11.743Z","updated_at":"2025-04-22T17:28:21.126Z","avatar_url":"https://github.com/Deadpikle.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"libzip++ -- A safe modern C++ 17 wrapper around libzip\n===================================================\n\nInfo about this repo\n--------------------\nThis repo was originally found [here](https://bitbucket.org/markand/libzip/) (404), but @markand ([BitBucket](https://bitbucket.org/markand/), [GitHub](https://github.com/markand), [Website](http://markand.fr/), [Mercurial Server](http://hg.markand.fr)) has since taken the repo down for unknown reasons. The library had a permissive license, so I have re-uploaded/mirrored the library here for historical purposes.\n\nIn August 2020, the original library was found in a more updated version on the original author's Mercurial server [here](http://hg.markand.fr/libzip/summary). I updated the code in this repo accordingly!\n\nIntroduction\n------------\n\nThe libzip library is a good C library for opening and creating zip archives,\nthis wrapper provides safe C++ classes around this great library.\n\nThe benefits:\n\n- Automatic allocations and destructions (RAII),\n- Easy way to add files,\n- Easy API,\n- Easy file reading in archive,\n- Read only iterator interface,\n- Convenience, thanks to C++ function overloads.\n\nDocumentation (copied from `mainpage.cpp`)\n-------------\n\n### Installation\n\nJust copy the file zippy.hpp and add it to your project.\n\n### Overview\n\nA simple example of the extraction of a file.\n\n```cpp\n#include \u003ciostream\u003e\n\n#include \"zip.hpp\"\n\nint main()\n{\n    try {\n        libzip::archive archive(\"mydata.zip\");\n        libzip::stat_info stat = archive.stat(\"README\");\n        libzip::file file = archive.open(\"README\");\n\n        std::cout \u003c\u003c \"content of README:\" \u003c\u003c std::endl;\n        std::cout \u003c\u003c file.read(stat.size);\n    } catch (const std::exception \u0026ex) {\n        std::cerr \u003c\u003c ex.what() \u003c\u003c std::endl;\n    }\n}\n```\n\nOther libzip wrappers\n---------------------\n\n* [libzippp](https://github.com/ctabin/libzippp)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeadpikle%2Flibzip-plus-plus","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdeadpikle%2Flibzip-plus-plus","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeadpikle%2Flibzip-plus-plus/lists"}