{"id":16286139,"url":"https://github.com/wieslawsoltes/dotnetcompress","last_synced_at":"2025-08-11T19:11:36.773Z","repository":{"id":143725752,"uuid":"554802455","full_name":"wieslawsoltes/DotNetCompress","owner":"wieslawsoltes","description":"An .NET compression tool. Supported file formats are Brotli and GZip.","archived":false,"fork":false,"pushed_at":"2024-01-06T13:39:01.000Z","size":53,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"main","last_synced_at":"2024-05-01T22:05:28.598Z","etag":null,"topics":["brotli","ci","command-line-tool","compression","compressor","dotnet","gzip","wasm","web","webassembly"],"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/wieslawsoltes.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE.md","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},"funding":{"github":["wieslawsoltes"]}},"created_at":"2022-10-20T12:24:45.000Z","updated_at":"2024-01-31T09:25:48.000Z","dependencies_parsed_at":"2024-10-10T19:42:26.279Z","dependency_job_id":"deca779b-16d0-4652-9e0d-2a653d8a7c16","html_url":"https://github.com/wieslawsoltes/DotNetCompress","commit_stats":{"total_commits":61,"total_committers":2,"mean_commits":30.5,"dds":"0.19672131147540983","last_synced_commit":"1d13881cbc9878d8a6d7db52d73f27f1df59921f"},"previous_names":[],"tags_count":14,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wieslawsoltes%2FDotNetCompress","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wieslawsoltes%2FDotNetCompress/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wieslawsoltes%2FDotNetCompress/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wieslawsoltes%2FDotNetCompress/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wieslawsoltes","download_url":"https://codeload.github.com/wieslawsoltes/DotNetCompress/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244047544,"owners_count":20389203,"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":["brotli","ci","command-line-tool","compression","compressor","dotnet","gzip","wasm","web","webassembly"],"created_at":"2024-10-10T19:42:21.697Z","updated_at":"2025-03-20T02:31:35.673Z","avatar_url":"https://github.com/wieslawsoltes.png","language":"C#","funding_links":["https://github.com/sponsors/wieslawsoltes"],"categories":[],"sub_categories":[],"readme":"# DotNetCompress\n\n[![NuGet](https://img.shields.io/nuget/v/DotNetCompress.svg)](https://www.nuget.org/packages/DotNetCompress)\n[![NuGet](https://img.shields.io/nuget/dt/DotNetCompress.svg)](https://www.nuget.org/packages/DotNetCompress)\n\n[![GitHub release](https://img.shields.io/github/release/wieslawsoltes/DotNetCompress)](https://github.com/wieslawsoltes/DotNetCompress)\n[![Github All Releases](https://img.shields.io/github/downloads/wieslawsoltes/DotNetCompress/total.svg)](https://github.com/wieslawsoltes/DotNetCompress)\n[![Github Releases](https://img.shields.io/github/downloads/wieslawsoltes/DotNetCompress/latest/total.svg)](https://github.com/wieslawsoltes/DotNetCompress)\n\nAn .NET compression tool. Supported file formats are Brotli and GZip.\n\n# Usage\n\n### Install\n\n```\ndotnet tool install --global DotNetCompress --version 4.0.0\n```\n\n### Uninstall\n\n```\ndotnet tool uninstall -g DotNetCompress\n```\n\n### Command-line help\n\n```\nDotNetCompress:\n  An .NET compression tool.\n\nUsage:\n  DotNetCompress [options]\n\nOptions:\n  -f, --inputFiles \u003cinputfiles\u003e                               The relative or absolute path to the input files\n  -d, --inputDirectory \u003cinputdirectory\u003e                       The relative or absolute path to the input directory\n  -o, --outputDirectory \u003coutputdirectory\u003e                     The relative or absolute path to the output directory\n  --outputFiles \u003coutputfiles\u003e                                 The relative or absolute path to the output files\n  -p, --pattern \u003cpattern\u003e                                     The search string to match against the names of files in the input directory\n  --format \u003cformat\u003e                                           The compression file format (br, gz)\n  -l, --level \u003cFastest|NoCompression|Optimal|SmallestSize\u003e    The compression level (Optimal, Fastest, NoCompression, SmallestSize)\n  -t, --threads \u003cthreads\u003e                                     The number of parallel job threads\n  -r, --recursive                                             Recurse into subdirectories of input directory search\n  --quiet                                                     Set verbosity level to quiet\n  --version                                                   Show version information\n  -?, -h, --help                                              Show help and usage information\n```\n\n### Brotli example\n\n```\ndotnetcompress -d /publish/files/path -p \"*.dll\" --format br -l Optimal\ndotnetcompress -d /publish/files/path -p \"*.wasm\" --format br -l Optimal\ndotnetcompress -d /publish/files/path -p \"*.js\" --format br -l Optimal\ndotnetcompress -d /publish/files/path -p \"*.dll\" -p \"*.js\" -p \"*.wasm\" --format br -l Optimal\n```\n\n### GZip example\n\n```\ndotnetcompress -d /publish/files/path -p \"*.dll\" --format gz -l Optimal\ndotnetcompress -d /publish/files/path -p \"*.wasm\" --format gz -l Optimal\ndotnetcompress -d /publish/files/path -p \"*.js\" --format gz -l Optimal\ndotnetcompress -d /publish/files/path -p \"*.dll\" -p \"*.js\" -p \"*.wasm\" --format gz -l Optimal\n```\n\n## License\n\nDotNetCompress is licensed under the [MIT license](LICENSE.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwieslawsoltes%2Fdotnetcompress","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwieslawsoltes%2Fdotnetcompress","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwieslawsoltes%2Fdotnetcompress/lists"}