{"id":23498000,"url":"https://github.com/freedomben/squoosh-cli","last_synced_at":"2025-04-22T19:28:54.955Z","repository":{"id":69605465,"uuid":"341322281","full_name":"FreedomBen/squoosh-cli","owner":"FreedomBen","description":null,"archived":false,"fork":false,"pushed_at":"2021-02-22T20:27:43.000Z","size":2,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-16T14:59:13.250Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","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/FreedomBen.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-02-22T20:03:54.000Z","updated_at":"2024-05-13T07:56:52.000Z","dependencies_parsed_at":"2023-02-26T13:45:35.701Z","dependency_job_id":null,"html_url":"https://github.com/FreedomBen/squoosh-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/FreedomBen%2Fsquoosh-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FreedomBen%2Fsquoosh-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FreedomBen%2Fsquoosh-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FreedomBen%2Fsquoosh-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/FreedomBen","download_url":"https://codeload.github.com/FreedomBen/squoosh-cli/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250307807,"owners_count":21409149,"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-12-25T05:17:49.431Z","updated_at":"2025-04-22T19:28:54.943Z","avatar_url":"https://github.com/FreedomBen.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Squoosh-cli\n\nWraps the [squoosh](https://github.com/GoogleChromeLabs/squoosh) CLI into an OCI image for easy using.  I put a bash function in the `~/.bashrc` file called `squoosh-cli` so I don't even have to know I'm using a container:\n\n```bash\nsquoosh-cli ()\n{\n  podman run \\\n    --rm \\\n    --volume \"$(pwd):/squoosh:Z\" \\\n    quay.io/freedomben/squoosh:latest \\\n    \"$@\"\n}\n```\n\nNow to run squoosh, I just use it like normal:\n\n```\n$ squoosh-cli --output-dir outputdir/ --mozjpeg '{}' profile-enh.png\n```\n\nIf you don't pass args it will print out the `squoosh-cli` help menu (`--help`).  This is useful if you forget the args.\n\nNote that I'm using rootless `podman`, so the `root` user in the container ends up being the user I invoked it with.\n\nIf you are going to use this let me know and I'll try to maintain it in a way that supports others.  Right now it's just me so I'm not putting effort into that.\n\nThank you to Google for building this super helpful tool and releasing it open source!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffreedomben%2Fsquoosh-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffreedomben%2Fsquoosh-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffreedomben%2Fsquoosh-cli/lists"}