{"id":31904639,"url":"https://github.com/phlowerteam/total_compressor","last_synced_at":"2025-10-13T13:56:41.586Z","repository":{"id":12505015,"uuid":"15174646","full_name":"phlowerteam/total_compressor","owner":"phlowerteam","description":"Tool (wrapper) for compression and handling multiple type of archives (Zip, GZip, RAR, 7z).","archived":false,"fork":false,"pushed_at":"2021-07-10T05:20:15.000Z","size":27,"stargazers_count":1,"open_issues_count":2,"forks_count":0,"subscribers_count":6,"default_branch":"master","last_synced_at":"2024-04-17T17:11:00.583Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Ruby","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/phlowerteam.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-12-13T21:33:05.000Z","updated_at":"2024-04-17T17:11:00.584Z","dependencies_parsed_at":"2022-09-10T22:31:33.004Z","dependency_job_id":null,"html_url":"https://github.com/phlowerteam/total_compressor","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/phlowerteam/total_compressor","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phlowerteam%2Ftotal_compressor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phlowerteam%2Ftotal_compressor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phlowerteam%2Ftotal_compressor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phlowerteam%2Ftotal_compressor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/phlowerteam","download_url":"https://codeload.github.com/phlowerteam/total_compressor/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phlowerteam%2Ftotal_compressor/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279015373,"owners_count":26085687,"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-13T02:00:06.723Z","response_time":61,"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":[],"created_at":"2025-10-13T13:56:36.622Z","updated_at":"2025-10-13T13:56:41.580Z","avatar_url":"https://github.com/phlowerteam.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Coverity Scan Build Status](https://scan.coverity.com/projects/10368/badge.svg)](https://scan.coverity.com/projects/phlowerteam-total_compressor)\n\ntotal_compressor\n================\n\nTool (wrapper) for compression and handling multiple type of archives (Zip, GZip, RAR, 7z).\n\nUses system calls\n\n## Installation\n\nInstall appropriate tools before using:\n\n    apt-get install zlib1g zlib1g-dev zip rar p7zip-full\n\nAdd this line to your application's Gemfile:\n\n    gem 'total_compressor'\n\nAnd then execute:\n\n    $ bundle\n\nOr install it yourself as:\n\n    $ gem install total_compressor\n\n## Usage\n\nCommand line:\n\n    tcomp [\u003ckey\u003e] full_path\n    \n    \u003ckey\u003e - determines supported type of compression:\n      z - use Zip\n      g - use GZip (can't compress folder, only file)\n      r - use RAR\n      7 - use 7z\n\nExamples:\n\n    tcomp z '/home/alex/The Lord of the Rings.txt'  # creates '/home/alex/The Lord of the Rings.txt.zip'\n    tcomp /home/alex/Hobbit.txt.7z                  # creates /home/alex/Hobbit.txt\n\nAPI:\n\n    require 'total_compressor'\n\n    TotalCompressor.compress('/home/alex/Hobbit.txt', 'zip')  # =\u003e '/home/alex/Hobbit.txt.zip'\n    TotalCompressor.compress('/home/alex/Hobbit.txt', 'gzip') # =\u003e '/home/alex/Hobbit.txt.gzip'\n    TotalCompressor.compress('/home/alex/Hobbit.txt', 'rar')  # =\u003e '/home/alex/Hobbit.txt.rar'\n    TotalCompressor.compress('/home/alex/Hobbit.txt', '7z')   # =\u003e '/home/alex/Hobbit.txt.7z'\n\n    TotalCompressor.decompress('/home/alex/Hobbit.txt.7z')    # =\u003e '/home/alex/Hobbit.txt'\n\n## Contributing\n\n1. Fork it\n2. Create your feature branch (`git checkout -b my-new-feature`)\n3. Commit your changes (`git commit -am 'Add some feature'`)\n4. Push to the branch (`git push origin my-new-feature`)\n5. Create new Pull Request\n\n## Contacts\n\nhttps://github.com/phlowerteam\n\nphlowerteam@gmail.com\n\n## License\n\nCopyright (c) 2013 PhlowerTeam\n\nMIT License\n\nPermission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n\"Software\"), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\nNONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE\nLIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION\nOF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION\nWITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphlowerteam%2Ftotal_compressor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fphlowerteam%2Ftotal_compressor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphlowerteam%2Ftotal_compressor/lists"}