{"id":13454672,"url":"https://github.com/hellodk34/squoosh","last_synced_at":"2025-03-24T06:31:12.203Z","repository":{"id":47353036,"uuid":"515832797","full_name":"hellodk34/squoosh","owner":"hellodk34","description":"A https://github.com/GoogleChromeLabs/squoosh docker image. Support amd64, arm64 and arm v7 arch. Dockerfile open source at https://github.com/hellodk34/squoosh .","archived":false,"fork":false,"pushed_at":"2023-08-07T06:10:53.000Z","size":160,"stargazers_count":31,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-08-01T08:11:11.055Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Dockerfile","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/hellodk34.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,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2022-07-20T04:28:12.000Z","updated_at":"2024-07-12T09:19:01.000Z","dependencies_parsed_at":"2024-02-17T03:31:12.140Z","dependency_job_id":"fcd3afcc-d669-4074-82a6-af5135d0b3a7","html_url":"https://github.com/hellodk34/squoosh","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/hellodk34%2Fsquoosh","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hellodk34%2Fsquoosh/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hellodk34%2Fsquoosh/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hellodk34%2Fsquoosh/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hellodk34","download_url":"https://codeload.github.com/hellodk34/squoosh/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":221939336,"owners_count":16904953,"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-07-31T08:00:56.660Z","updated_at":"2024-10-28T21:31:06.229Z","avatar_url":"https://github.com/hellodk34.png","language":"Dockerfile","funding_links":[],"categories":["Dockerfile"],"sub_categories":[],"readme":"# squoosh\n\nA https://github.com/GoogleChromeLabs/squoosh docker image. Support amd64, arm64 and arm v7 arch. Dockerfile open source at https://github.com/hellodk34/squoosh . If you appreciate for my work, you can leave a star on this GitHub repo, thank you as the same.\n\nDocker Hub address: https://hub.docker.com/r/dko0/squoosh\n\n## Other description\n\nusing docker buildx built\n\n```\n# docker buildx build -f ./Dockerfile -t NAMESPACE/squoosh:1.12.0 --platform=linux/arm64,linux/amd64,linux/arm/v7 .\n```\n\nMy repo not contained all the source code, I just edited the package.json file and built this docker image. To review the source code, please step to [GoogleChromeLabs/squoosh](https://github.com/GoogleChromeLabs/squoosh) . Thanks for your using.\n\n## Usage\n\n### just docker run\n\n```\n# docker run -d --name squoosh \\\n    --restart unless-stopped \\\n    -p 7701:8080 \\\n    dko0/squoosh:1.12.0\n```\n\nthen, visit http://YOUR_IP:7701 and enjoy it!\n\n### docker-compose\n\n```\ncat \u003e squoosh-compose.yml \u003c\u003cEOF\nversion: '3'\nservices:\n  squoosh:\n    image: dko0/squoosh:1.12.0\n    container_name: squoosh\n    networks:\n      - squoosh-net\n    ports:\n      - 7701:8080\n    restart: unless-stopped\nnetworks:\n  squoosh-net:\nEOF\n```\n\nand then, just type `docker-compose -f ./squoosh-compose.yml up -d` and enter that it works!\n\n![image](./screenshots/1.png)\n\n### squoosh-cli usage\n\nread this [article](https://hellodk.cn/post/1141) .\n\n## Thanks\n\n- https://github.com/GoogleChromeLabs/squoosh\n- https://www.npmjs.com/package/@squoosh/cli\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhellodk34%2Fsquoosh","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhellodk34%2Fsquoosh","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhellodk34%2Fsquoosh/lists"}