{"id":36543955,"url":"https://github.com/jiftoo/imgopt","last_synced_at":"2026-01-12T05:54:08.171Z","repository":{"id":57698952,"uuid":"494922732","full_name":"jiftoo/imgopt","owner":"jiftoo","description":"A simple cli script for optimizing images in bulk.","archived":false,"fork":false,"pushed_at":"2022-07-05T17:39:44.000Z","size":31,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-24T14:41:18.127Z","etag":null,"topics":["image-optimization","image-processing"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jiftoo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-05-22T00:16:58.000Z","updated_at":"2023-05-24T14:39:16.000Z","dependencies_parsed_at":"2022-08-26T16:31:12.666Z","dependency_job_id":null,"html_url":"https://github.com/jiftoo/imgopt","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jiftoo/imgopt","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jiftoo%2Fimgopt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jiftoo%2Fimgopt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jiftoo%2Fimgopt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jiftoo%2Fimgopt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jiftoo","download_url":"https://codeload.github.com/jiftoo/imgopt/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jiftoo%2Fimgopt/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28335591,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-12T00:36:25.062Z","status":"online","status_checked_at":"2026-01-12T02:00:08.677Z","response_time":98,"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":["image-optimization","image-processing"],"created_at":"2026-01-12T05:54:05.894Z","updated_at":"2026-01-12T05:54:08.166Z","avatar_url":"https://github.com/jiftoo.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![GitHub Repo stars](https://img.shields.io/github/stars/jiftoo/imgopt?style=social)](https://github.com/jiftoo/imgopt)\n\n# Welcome to `imgopt`!\nThis cli tool is inspired by the awesome [expo-optimize](https://www.npmjs.com/package/expo-optimize) tool. Unlike the former, imgopt allows the user to convert images to other formats, or limit their width outside of an npm project and without the need to install the `sharp-cli` package.\n# Usage :rocket:\n```\n# Simply run this\nnpx imgopt \u003cinput-directory\u003e [options]\n```\nSee `npx imgopt --help` for more.\n# Examples :pencil:\n```\n# Convert all files in the current directory to JPEG with quality=80, save to ./optimized\nnpx imgopt . --format jpg --quality 80 -o optimized\n\n#Convert all files to PNG, limit width to 1000px, also copy non-image files, save to ./output (default)\nnpx imgopt . --format png --max-width 1000 --copy-all\n\n# Keep format, quality=90, clear the output folder before optimizing\nnpx imgopt . --quality 90 --clear\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjiftoo%2Fimgopt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjiftoo%2Fimgopt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjiftoo%2Fimgopt/lists"}