{"id":18151426,"url":"https://github.com/fdero/jcompressor","last_synced_at":"2026-02-24T07:09:28.506Z","repository":{"id":259526513,"uuid":"864461965","full_name":"fDero/JCompressor","owner":"fDero","description":"Simple file compressor and decompressor written in Java-21 using my own library bits4j (which is hosted on maven central)","archived":false,"fork":false,"pushed_at":"2025-02-06T14:34:34.000Z","size":57,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-29T02:49:22.995Z","etag":null,"topics":["compression","decompression","filesystem","huffman-coding","java","java-21","maven"],"latest_commit_sha":null,"homepage":"","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/fDero.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,"zenodo":null}},"created_at":"2024-09-28T09:30:27.000Z","updated_at":"2025-02-15T20:43:21.000Z","dependencies_parsed_at":"2024-10-26T07:52:52.088Z","dependency_job_id":"8312bf44-b04f-4e3b-999f-d371ec80767d","html_url":"https://github.com/fDero/JCompressor","commit_stats":null,"previous_names":["fdero/jcompressor"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/fDero/JCompressor","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fDero%2FJCompressor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fDero%2FJCompressor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fDero%2FJCompressor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fDero%2FJCompressor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fDero","download_url":"https://codeload.github.com/fDero/JCompressor/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fDero%2FJCompressor/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":281549789,"owners_count":26520515,"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-10-29T02:00:06.901Z","response_time":59,"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":["compression","decompression","filesystem","huffman-coding","java","java-21","maven"],"created_at":"2024-11-02T01:07:38.007Z","updated_at":"2025-10-29T02:49:24.160Z","avatar_url":"https://github.com/fDero.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# JCompressor\r\n\r\nSimple file compressor and decompressor written in Java-21. \u003c/br\u003e\r\nThis project makes use of my own library [bits4j](https://github.com/fDero/Bits4j).\r\n\r\n### Building from source\r\nTo build the project locally, [Apache Maven](https://maven.apache.org/) and \r\n[Java-21](https://docs.aws.amazon.com/corretto/latest/corretto-21-ug/downloads-list.html) \r\nneeed to be installed on the host machine. To build the project, run the following command:\r\n```bash\r\nmvn package\r\n```\r\n\r\n### Performing Huffman compression\r\nAssuming the build was successful, running the following command you will be able to compress the `\u003cINPUT-FILE\u003e`, generating\r\nan `\u003cOUTPUT-COMPRESSED-FILE\u003e` using the [Huffman algorithm](https://en.wikipedia.org/wiki/Huffman_coding)\r\n```\r\njava -jar ./target/JCompressor-0.0.1-SNAPSHOT.jar --input \u003cINPUT-FILE\u003e --task HUFFMAN_COMPRESSION --output \u003cOUTPUT-COMPRESSED-FILE\u003e\r\n```\r\n\r\n### Performing Huffman decompression\r\nAssuming the build was successful, running the following command you will be able to decompress an `\u003cINPUT-COMPRESSED-FILE\u003e`, generating\r\nan `\u003cOUTPUT-FILE\u003e` using the [Huffman algorithm](https://en.wikipedia.org/wiki/Huffman_coding)\r\n```\r\njava -jar ./target/JCompressor-0.0.1-SNAPSHOT.jar --input \u003cINPUT-COMPRESSED-FILE\u003e --task HUFFMAN_DECOMPRESSION --output \u003cOUTPUT-FILE\u003e\r\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffdero%2Fjcompressor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffdero%2Fjcompressor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffdero%2Fjcompressor/lists"}