{"id":14900989,"url":"https://github.com/yybit/nu_plugin_compress","last_synced_at":"2025-04-08T15:34:26.758Z","repository":{"id":257789350,"uuid":"860779753","full_name":"yybit/nu_plugin_compress","owner":"yybit","description":"A nushell plugin for compression and decompression, supporting zstd, gzip, bzip2, and xz.","archived":false,"fork":false,"pushed_at":"2025-04-02T13:56:24.000Z","size":28,"stargazers_count":23,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-02T14:03:20.740Z","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":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/yybit.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-09-21T06:33:02.000Z","updated_at":"2025-04-02T13:53:08.000Z","dependencies_parsed_at":null,"dependency_job_id":"2b98e525-fc94-4410-8483-53223f6fbc2a","html_url":"https://github.com/yybit/nu_plugin_compress","commit_stats":null,"previous_names":["yybit/nu_plugin_compress"],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yybit%2Fnu_plugin_compress","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yybit%2Fnu_plugin_compress/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yybit%2Fnu_plugin_compress/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yybit%2Fnu_plugin_compress/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yybit","download_url":"https://codeload.github.com/yybit/nu_plugin_compress/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247872125,"owners_count":21010180,"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":"2024-09-22T10:00:20.828Z","updated_at":"2025-04-08T15:34:26.746Z","avatar_url":"https://github.com/yybit.png","language":"Rust","readme":"[![crates.io](https://img.shields.io/crates/v/nu_plugin_compress.svg)](https://crates.io/crates/nu_plugin_compress)\n[![docs.rs](https://docs.rs/nu_plugin_compress/badge.svg)](https://docs.rs/nu_plugin_compress)\n\n## nu_plugin_compress\nA nushell plugin for compression and decompression, supporting zstd, gzip, bzip2, and xz.\n## Status\n\nSupported compression formats include:\n\n|Type|Compress Command|Decompress Command|\n|--|--|--|\n|gzip|to gz|from gz|\n|zstd|to zst|from zst|\n|xz|to xz|from xz|\n|bzip2|to bz2|from bz2|\n\n\n### Installation\n```shell\ncargo install nu_plugin_compress\nplugin add ~/.cargo/bin/nu_plugin_compress\nplugin use compress\n```\n\n### Usage\n```shell\n# compress and save\n\"hello\" | to gz | save hello.gz\n# compress with level 7, Default level is 3\n\"hello\" | to xz -l 7\n# decompress and print\nopen hello.gz | decode\n# archive and compress\ntar cvf - hello.txt | to gz | save hello.tar.gz\n# decompress and unarchive\nopen hello.tar.gz | tar xvf -\n```\n\n### Example\n```shell\n\u003e open hello.gz\nLength: unknown (stream) | printable whitespace ascii_other non_ascii\n00000000:   68 65 6c 6c  6f                                      hello\n```","funding_links":[],"categories":["Plugins"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyybit%2Fnu_plugin_compress","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyybit%2Fnu_plugin_compress","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyybit%2Fnu_plugin_compress/lists"}