{"id":20815185,"url":"https://github.com/hoishing/icon-resize","last_synced_at":"2026-03-05T04:02:52.084Z","repository":{"id":79356586,"uuid":"575816579","full_name":"hoishing/icon-resize","owner":"hoishing","description":"CLI to create lossless icons in multiple sizes","archived":false,"fork":false,"pushed_at":"2025-03-07T14:28:55.000Z","size":150,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-18T16:47:31.194Z","etag":null,"topics":["cli","png","python"],"latest_commit_sha":null,"homepage":"","language":"Python","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/hoishing.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,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2022-12-08T11:13:20.000Z","updated_at":"2025-05-10T06:15:42.000Z","dependencies_parsed_at":"2025-05-11T20:42:10.557Z","dependency_job_id":null,"html_url":"https://github.com/hoishing/icon-resize","commit_stats":null,"previous_names":["hoishing/icon-resize","hoishing/icon-resize-cli"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/hoishing/icon-resize","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hoishing%2Ficon-resize","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hoishing%2Ficon-resize/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hoishing%2Ficon-resize/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hoishing%2Ficon-resize/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hoishing","download_url":"https://codeload.github.com/hoishing/icon-resize/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hoishing%2Ficon-resize/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30109076,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-05T03:40:26.266Z","status":"ssl_error","status_checked_at":"2026-03-05T03:39:15.902Z","response_time":93,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["cli","png","python"],"created_at":"2024-11-17T21:19:51.488Z","updated_at":"2026-03-05T04:02:52.065Z","avatar_url":"https://github.com/hoishing.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Icon Resize\n\n[![ruff-badge]][ruff] [![pypi-badge]][pypi-url] ![MIT] [![uv-badge]][uv]\n\n![screenshot](https://i.imgur.com/K00hCxN.png)\n\n\u003e CLI to create lossless icons in multiple sizes\n\n[mit]: https://img.shields.io/github/license/hoishing/icon-resize\n\n## Features\n\n- resize icon file(png/jpg) to multiple sizes\n- lossless compression for png files\n- maintain aspect ratio and transparency\n\n## Prerequisite\n\n- macOS or Linux (Windows not tested)\n- python3.10+\n- [Image Magick], could be installed by `brew install imagemagick`\n\n## Installation\n\n`uv add icon-resize`\n\n## Usage\n\n```shell\n# default resize to 256, 128, 64\nicon-resize mic-512.png\n\n# specify resize to 128, 64\nicon-resize mic-512.png --sizes \"128,64\"\n\n# save to 'mic' folder with default sizes\nicon-resize mic-512.png --out-folder mic/\n\n# enable autocomplete in current session\neval \"$(_ICON_RESIZE_COMPLETE=zsh_source icon_resize)\"\n```\n\nOr run directly without installation\n\n```shell\nuvx icon-resize mic-512.png --sizes \"128,64\" --out-folder mic/\n```\n\n## Technical Details\n\n- use [Typer] for CLI and help docs generation\n- use [Image Magick] for both resize and compress images\n\n## Questions?\n\nOpen a [github issue] or ping me on [X]\n\n[github issue]: https://github.com/hoishing/icon-resize-cli/issues\n[Image Magick]: https://imagemagick.org\n[pypi-badge]: https://img.shields.io/pypi/v/icon-resize\n[pypi-url]: https://pypi.org/project/icon-resize/\n[ruff-badge]: https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json\n[ruff]: https://github.com/astral-sh/ruff\n[Typer]: https://typer.tiangolo.com\n[uv-badge]: https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/uv/main/assets/badge/v0.json\n[uv]: https://docs.astral.sh/uv/\n[X]: https://x.com/intent/tweet?text=https://github.com/hoishing/gllm/%20%0D@hoishing\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhoishing%2Ficon-resize","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhoishing%2Ficon-resize","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhoishing%2Ficon-resize/lists"}