{"id":29536653,"url":"https://github.com/roquess/paxit","last_synced_at":"2026-05-22T21:34:54.449Z","repository":{"id":270652708,"uuid":"911050022","full_name":"roquess/paxit","owner":"roquess","description":"Paxit is a flexible Rust library for compressing and decompressing files using various algorithms, with a modular design that allows easy addition of new compression formats.","archived":false,"fork":false,"pushed_at":"2025-01-19T12:28:26.000Z","size":4029,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-05T08:25:44.954Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","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/roquess.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":"2025-01-02T06:07:27.000Z","updated_at":"2025-01-19T12:28:28.000Z","dependencies_parsed_at":"2025-01-02T06:43:15.888Z","dependency_job_id":"31de8e9f-aa0d-41de-8fda-ac4f15e331e1","html_url":"https://github.com/roquess/paxit","commit_stats":null,"previous_names":["roquess/paxit"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/roquess/paxit","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roquess%2Fpaxit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roquess%2Fpaxit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roquess%2Fpaxit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roquess%2Fpaxit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/roquess","download_url":"https://codeload.github.com/roquess/paxit/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roquess%2Fpaxit/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265561988,"owners_count":23788446,"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":[],"created_at":"2025-07-17T03:02:02.522Z","updated_at":"2025-12-24T21:45:17.210Z","avatar_url":"https://github.com/roquess.png","language":"Rust","funding_links":[],"categories":["Libraries"],"sub_categories":["Compression"],"readme":" # Paxit\n\nPaxit is a flexible Rust library for compressing and decompressing files using various algorithms, with a modular design that allows easy addition of new compression formats.\n\n## Features\n\n- Supports multiple compression formats: \"bmp\", \"dds\", \"farbfeld\", \"gif\", \"hdr\", \"ico\", \"jpg\", \"jpeg\", \"xz\", \"gz\", \"png\", \"pbm\", \"pgm\", \"ppm\", \"tar\", \"tga\", \"tiff\", \"tif\", \"webp\", \"zip\", \"zst\".\n- Modular design for easy addition of new compression algorithms.\n- Simple command-line interface for compressing and decompressing files.\n\n## Installation\n\nTo use Paxit, add the following to your `Cargo.toml`:\n\n```toml\n[dependencies]\npaxit = \"0.1.4\"\n```\n\n## Usage\n\nCommand-Line Interface\nPaxit provides a simple command-line interface for compressing and decompressing files.\n\n### Compression\n\nTo compress files, use the following command:\n\n```bash\npaxit compress \u003coutput_file\u003e \u003cinput_files...\u003e\n```\n\nFor example, to compress file1.txt and file2.txt into archive.zip:\n\n\n```bash\npaxit compress archive.zip file1.txt file2.txt\n```\n\n### Decompression\n\nTo decompress a file, use the following command:\n\n```bash\npaxit uncompress \u003cinput_file\u003e \u003coutput_directory\u003e\n```\n\nFor example, to decompress archive.zip into the output directory:\n\n```bash\npaxit uncompress archive.zip output\n```\n\n## Library Usage\n\nYou can also use Paxit as a library in your Rust projects. Here is an example of how to use it:\n\n```rust\nuse paxit::algorithms::{Zip, Tar, Gunzip};\nuse paxit::pack::Pack;\nuse std::path::Path;\n\nfn main() {\n    let files = vec![Path::new(\"file1.txt\"), Path::new(\"file2.txt\")];\n    let output = Path::new(\"archive.zip\");\n\n    let compressor = Zip;\n    compressor.pack(files, output).unwrap();\n}\n```\n\n## Adding New Compression Algorithms\n\nTo add a new compression algorithm, simply create a new file in the algorithms directory and implement the Pack trait. The library will automatically detect and use the new algorithm.\n\n# Contributing\n\nContributions are welcome! Please open an issue or submit a pull request.\n\nYou can update the mod.rs file by running : \n\n```bash\ncargo r --bin gen_mod\n```\n\n# License\n\nThis project is licensed under the MIT License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Froquess%2Fpaxit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Froquess%2Fpaxit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Froquess%2Fpaxit/lists"}