{"id":21022389,"url":"https://github.com/artemvlas/qmicroz","last_synced_at":"2025-04-12T11:13:22.716Z","repository":{"id":263500256,"uuid":"890602876","full_name":"artemvlas/qmicroz","owner":"artemvlas","description":"C++/Qt wrapper over miniz. Zip/Unzip with Qt.","archived":false,"fork":false,"pushed_at":"2025-04-06T12:59:04.000Z","size":148,"stargazers_count":4,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-12T11:13:18.099Z","etag":null,"topics":["archive","qt","unzip","wrapper","zip"],"latest_commit_sha":null,"homepage":"","language":"C","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/artemvlas.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":"2024-11-18T21:26:04.000Z","updated_at":"2025-04-06T12:59:07.000Z","dependencies_parsed_at":"2024-11-18T22:39:03.810Z","dependency_job_id":"f513021d-a9b6-4e27-ada0-a124be158eb2","html_url":"https://github.com/artemvlas/qmicroz","commit_stats":null,"previous_names":["artemvlas/qmicroz"],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/artemvlas%2Fqmicroz","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/artemvlas%2Fqmicroz/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/artemvlas%2Fqmicroz/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/artemvlas%2Fqmicroz/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/artemvlas","download_url":"https://codeload.github.com/artemvlas/qmicroz/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248557843,"owners_count":21124168,"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":["archive","qt","unzip","wrapper","zip"],"created_at":"2024-11-19T11:11:37.083Z","updated_at":"2025-04-12T11:13:22.710Z","avatar_url":"https://github.com/artemvlas.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# QMicroz\n### _A simple Zip/Unzip solution for Qt projects._\nThis is a lightweight C++/Qt wrapper around the [miniz](https://github.com/richgel999/miniz) zip library (based on _zlib_).\\\nThe code can easily be used as a standalone library (shared or static), which will provide ready-made functions for quick and convenient work with zip archives.\nThere is no need to add additional dependencies and deal with low-level APIs.\n\n### The project purpose.\nCreation of a minimalist, publicly accessible and most easy to use tool that does not require a long documentation study. The priority is the possibility of embedding into Qt projects with ease, with a reduced number of code lines.\n\nThe library is well suitable, for example, for working with the contents of files of common types of documents (*.epub, *.docx, *.odt, *.ver ...), which are essentially packaged archives.\n\n### Key features:\n* Create and extract zip files.\\\n    _Working with files, folders and their lists._\n* Create/extract archives from/to **buffered data.**\\\n    _UnZip files into the RAM buffer.\\\n     Make a zip file from QByteArray (or a list of them).\\\n     Extract the buffered zip to disk..._\n\n---\n### How to use:\nBasic functions are available statically.\nFor example:\n\n#### Extracting the archive to the parent folder\n    QMicroz::extract(\"zip_file_path\");\n\n#### Archiving a folder with custom path to zip\n    QMicroz::compress_folder(\"source_path\", \"zip_file_path\");\n\n#### Zipping a list of files and/or folders\n    QMicroz::compress_here({\"file_path\", \"folder_path\", \"file2_path\"});\n\n#### UnZipping a file into a memory buffer (non-static)\n```\nBufList buffer;\nQMicroz qmz(\"path_to_zip\");\nif (qmz) // whether successfully opened\n    buffer = qmz.extractToBuf();\n```\n\nMore examples on [Wiki](https://github.com/artemvlas/qmicroz/wiki/Usage-examples).\\\nA complete list of functions is available in the [qmicroz.h](src/qmicroz.h) file.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fartemvlas%2Fqmicroz","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fartemvlas%2Fqmicroz","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fartemvlas%2Fqmicroz/lists"}