{"id":18458300,"url":"https://github.com/crazyfactory/jpeg-compression-cli","last_synced_at":"2025-04-14T13:41:41.397Z","repository":{"id":55687624,"uuid":"93603246","full_name":"crazyfactory/jpeg-compression-cli","owner":"crazyfactory","description":null,"archived":false,"fork":false,"pushed_at":"2020-12-13T06:06:50.000Z","size":94,"stargazers_count":3,"open_issues_count":3,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-28T02:46:36.408Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/crazyfactory.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}},"created_at":"2017-06-07T07:01:06.000Z","updated_at":"2019-06-25T05:35:10.000Z","dependencies_parsed_at":"2022-08-15T06:20:59.821Z","dependency_job_id":null,"html_url":"https://github.com/crazyfactory/jpeg-compression-cli","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crazyfactory%2Fjpeg-compression-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crazyfactory%2Fjpeg-compression-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crazyfactory%2Fjpeg-compression-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crazyfactory%2Fjpeg-compression-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/crazyfactory","download_url":"https://codeload.github.com/crazyfactory/jpeg-compression-cli/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248675502,"owners_count":21143784,"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-11-06T08:17:46.742Z","updated_at":"2025-04-14T13:41:41.372Z","avatar_url":"https://github.com/crazyfactory.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# jpeg-compression-cli\n\n[![npm](https://img.shields.io/npm/v/@crazyfactory/jpeg-compression-cli.svg)](http://www.npmjs.com/package/@crazyfactory/jpeg-compression-cli)\n[![Build Status](https://travis-ci.org/crazyfactory/jpeg-compression-cli.svg?branch=master)](https://travis-ci.org/crazyfactory/jpeg-compression-cli)\n[![dependencies Status](https://david-dm.org/crazyfactory/jpeg-compression-cli/status.svg)](https://david-dm.org/crazyfactory/jpeg-compression-cli)\n[![devDependencies Status](https://david-dm.org/crazyfactory/jpeg-compression-cli/dev-status.svg)](https://david-dm.org/crazyfactory/jpeg-compression-cli?type=dev)\n[![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release)\n[![Greenkeeper badge](https://badges.greenkeeper.io/crazyfactory/jpeg-compression-cli.svg)](https://greenkeeper.io/)\n\nCompresses JPG files using google's guetzli algorithm.\n\n## Installation\n\n    $ npm i -g @crazyfactory/jpeg-compression-cli\n\n## Usage\n\njpeg-compression-cli allow you to convert your images within a current directory, recursively or not. It will overwrite your files with the compressed version \n\nAfter installation, just run command `jpgc` in ternimal.\n\nTo convert all images within the current directory and subdirectoies, use the -r flag\n\n    $ jpgc -r\n\nTo choose a different folder provide it with -p flag\n\n    $ jpgc -p /var/my-images\n\nTo convert the specific image files (assets/img.jpg in this example), you may run the following command.\n\n    $ jpgc -f assets/img.jpg\n\nor\n\n    $ jpgc -f assets/img1.jpg,assets/img2.png\n\nChange the parallel number of operations by using the -c flag\n\n    $ jpgc -c 2\n\nfor more help infomation, you could run the -h flag to check it out.\n\n    $ jpgc -h\n\n## License\n\nCopyright (c) 2017 Wolf T. Mathes for Crazy Factory Trading Co. Ltd.\n\nLicensed under the MIT license.\n\nSee LICENSE for more info.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcrazyfactory%2Fjpeg-compression-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcrazyfactory%2Fjpeg-compression-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcrazyfactory%2Fjpeg-compression-cli/lists"}