{"id":20672690,"url":"https://github.com/shuoros/jcompressor","last_synced_at":"2026-01-04T15:48:46.582Z","repository":{"id":57734814,"uuid":"444158978","full_name":"shuoros/JCompressor","owner":"shuoros","description":"JCompressor is an easy-to-use library in Java that can be used to compress different files and folders by various methods such as Zip, Gzip, Stufflt, 7z etc., and extract files and folders from those different compressed files.","archived":false,"fork":false,"pushed_at":"2022-01-29T08:51:28.000Z","size":327,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-27T12:21:17.133Z","etag":null,"topics":["7z","compression","compression-library","file","gzip","java","rar","zip"],"latest_commit_sha":null,"homepage":"https://shuoros.github.io/jcompressor","language":"Java","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/shuoros.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}},"created_at":"2022-01-03T18:19:20.000Z","updated_at":"2024-09-05T18:38:33.000Z","dependencies_parsed_at":"2022-08-28T03:21:40.001Z","dependency_job_id":null,"html_url":"https://github.com/shuoros/JCompressor","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shuoros%2FJCompressor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shuoros%2FJCompressor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shuoros%2FJCompressor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shuoros%2FJCompressor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shuoros","download_url":"https://codeload.github.com/shuoros/JCompressor/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244959443,"owners_count":20538626,"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":["7z","compression","compression-library","file","gzip","java","rar","zip"],"created_at":"2024-11-16T20:38:31.163Z","updated_at":"2026-01-04T15:48:46.534Z","avatar_url":"https://github.com/shuoros.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n \u003cimg src=\"https://user-images.githubusercontent.com/45015114/139809463-417377ca-2eef-4cec-9689-bd841b0ce5db.png\" align=\"center\" alt=\"JCompressor\" /\u003e\n \u003ch2 align=\"center\"\u003eJCompressor\u003c/h2\u003e\n \u003cp align=\"center\"\u003eIs a library for managing files in Java which easily and with the least line of code gives you\n  the ability to manage files like moving through folders and directories, reading files and folders information,\n  creating new files or folders, making changes to files and folders such as renaming or hiding them, deleting files\n  and folders, searching for files or folders by regex and compressing files and folders or extracting them from zip files.\u003c/p\u003e\n\u003c/p\u003e\n  \u003cp align=\"center\"\u003e\n    \u003ca href=\"https://github.com/shuoros/JCompressor/actions\"\u003e\n      \u003cimg src=\"https://img.shields.io/github/workflow/status/shuoros/JCompressor/Test?label=Test\u0026style=for-the-badge\" /\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://mvnrepository.com/artifact/io.github.shuoros/JCompressor\"\u003e\n      \u003cimg src=\"https://img.shields.io/maven-central/v/io.github.shuoros/JCompressor?style=for-the-badge\" /\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://www.codefactor.io/repository/github/shuoros/jterminal\"\u003e\n      \u003cimg alt=\"code factor\" src=\"https://img.shields.io/codefactor/grade/github/shuoros/jcompressor/main?style=for-the-badge\" /\u003e\n    \u003c/a\u003e\n    \u003ca href=\"#\"\u003e\n      \u003cimg alt=\"Contributors\" src=\"https://img.shields.io/github/contributors/shuoros/jcompressor?style=for-the-badge\u0026color=blueviolet\" /\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://github.com/shuoros/JCompressor/blob/main/LICENSE\"\u003e\n      \u003cimg alt=\"License\" src=\"https://img.shields.io/github/license/shuoros/jcompressor?style=for-the-badge\" /\u003e\n    \u003c/a\u003e\n    \u003cbr /\u003e\n    \u003cbr /\u003e\n    \u003ca href=\"https://github.com/shuoros/JCompressor/issues\"\u003e\n      \u003cimg src=\"https://img.shields.io/github/issues-raw/shuoros/jcompressor?style=for-the-badge\u0026color=red\"/\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://github.com/shuoros/JCompressor/issues\"\u003e\n      \u003cimg src=\"https://img.shields.io/github/issues-closed-raw/shuoros/jcompressor?style=for-the-badge\"/\u003e\n    \u003c/a\u003e\n  \u003c/p\u003e\n  \u003cp align=\"center\"\u003e\n\tIf you like this project, help me by giving me a star =))\u003c3\n  \u003c/p\u003e\n\n## What is in V0.1.0\n\n- Compress a list of files in zip.\n- Extract zip files.\n\n## Hello JCompressor\n\nTo use JCompressor you just need to make a simple call to your desired API and JCompressor will do the rest.\n\nFor example:\n\n```java\nimport io.github.shuoros.jcompressor.JCompressor;\nimport io.github.shuoros.jcompressor.compress.ZipCompressor;\n\nimport java.util.List;\n\npublic class Main {\n    public static void main(String[] args) {\n        // Create A ZipCompressor\n        JCompressor jCompressor = new ZipCompressor();\n        File file = new File(\"/home/soroush/Desktop/file.txt\");\n        File zipFile = new File(\"/home/soroush/Desktop/file.zip\");\n        // Compress file to a zip file\n        jCompressor.compress(List.of(file), zipFile);\n        File extractDestination = new File(\"/home/soroush/Desktop/extractHere/\");\n        // Extract a zip file\n        jCompressor.extract(zipFile, extractDestination);\n    }\n}\n```\n\n## Installation\n\nYou can use **JCompressor** with any project management tool:\n\n### Maven\n\n```xml\n\u003c!-- https://mvnrepository.com/artifact/io.github.shuoros/JCompressor --\u003e\n\u003cdependency\u003e\n    \u003cgroupId\u003eio.github.shuoros\u003c/groupId\u003e\n    \u003cartifactId\u003eJCompressor\u003c/artifactId\u003e\n    \u003cversion\u003e0.1.0\u003c/version\u003e\n\u003c/dependency\u003e\n```\n\n### Gradle\n\n```gradle\n// https://mvnrepository.com/artifact/io.github.shuoros/JCompressor\nimplementation group: 'io.github.shuoros', name: 'JCompressor', version: '0.1.0'\n```\n\nOr\n\n```gradle\n// https://mvnrepository.com/artifact/io.github.shuoros/JCompressor\nimplementation 'io.github.shuoros:JCompressor:0.1.0'\n```\n\nAnd in **Kotlin**\n\n```gradle\n// https://mvnrepository.com/artifact/io.github.shuoros/JCompressor\nimplementation(\"io.github.shuoros:JCompressor:0.1.0\")\n```\n\n### SBT\n\n```sbt\n// https://mvnrepository.com/artifact/io.github.shuoros/JCompressor\nlibraryDependencies += \"io.github.shuoros\" % \"JCompressor\" % \"0.1.0\"\n```\n\n### Ivy\n\n```xml\n\u003c!-- https://mvnrepository.com/artifact/io.github.shuoros/JCompressor --\u003e\n\u003cdependency org=\"io.github.shuoros\" name=\"JCompressor\" rev=\"0.1.0\"/\u003e\n```\n\n### Grape\n\n```java\n// https://mvnrepository.com/artifact/io.github.shuoros/JCompressor\n@Grapes(\n        @Grab(group = 'io.github.shuoros', module = 'JCompressor', version = '0.1.0')\n)\n```\n\n### Leiningen\n\n```clj\n;; https://mvnrepository.com/artifact/io.github.shuoros/JCompressor\n[io.github.shuoros/JCompressor \"0.1.0\"]\n```\n\n## Authors\n\nJCompressor is developed by [Soroush Shemshadi](https://github.com/shuoros)\nand [contributors](https://github.com/shuoros/JCompressor/blob/main/CONTRIBUTORS.md).\n\n## Contribution\n\nIf you want to contribute on this project, Please read\nthe [contribution guide](https://github.com/shuoros/JCompressor/blob/main/CONTRIBUTE.md).\n\n## Releases\n\nTo see the changes in different versions of JCompressor, you can read\nthe [release notes](https://github.com/shuoros/JCompressor/blob/main/RELEASENOTES.md).\n\n## Issues\n\nIf you encounter a bug or vulnerability, please read\nthe [issue policy](https://github.com/shuoros/JCompressor/blob/main/ISSUES.md).\n\n## Documentation\n\nTo learn how to work with JCompressor, please take a look at the [/doc](https://github.com/shuoros/JCompressor/tree/main/doc)\nfolder.\n\n## Acknowledgement\n\nA great thanks to [@sarahrajabi](https://github.com/sarahrajabi) for designing the logo.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshuoros%2Fjcompressor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshuoros%2Fjcompressor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshuoros%2Fjcompressor/lists"}