{"id":43390595,"url":"https://github.com/marcusfrdk/create-app-icon","last_synced_at":"2026-02-02T13:02:26.477Z","repository":{"id":42044368,"uuid":"340881753","full_name":"marcusfrdk/create-app-icon","owner":"marcusfrdk","description":"Use a single command to resize a local or remote image to all the required sizes and formats used in various forms of development.","archived":false,"fork":false,"pushed_at":"2022-10-15T20:00:40.000Z","size":19495,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2023-05-16T16:33:35.670Z","etag":null,"topics":["android","app","app-icon-generator","apple-watch","icon","ios","python","web"],"latest_commit_sha":null,"homepage":"","language":"Python","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/marcusfrdk.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":"2021-02-21T11:13:28.000Z","updated_at":"2023-04-11T07:45:19.000Z","dependencies_parsed_at":"2023-01-20T01:04:48.658Z","dependency_job_id":null,"html_url":"https://github.com/marcusfrdk/create-app-icon","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"purl":"pkg:github/marcusfrdk/create-app-icon","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcusfrdk%2Fcreate-app-icon","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcusfrdk%2Fcreate-app-icon/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcusfrdk%2Fcreate-app-icon/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcusfrdk%2Fcreate-app-icon/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/marcusfrdk","download_url":"https://codeload.github.com/marcusfrdk/create-app-icon/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcusfrdk%2Fcreate-app-icon/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29012691,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-02T12:48:30.580Z","status":"ssl_error","status_checked_at":"2026-02-02T12:46:38.384Z","response_time":58,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":["android","app","app-icon-generator","apple-watch","icon","ios","python","web"],"created_at":"2026-02-02T13:02:16.424Z","updated_at":"2026-02-02T13:02:26.472Z","avatar_url":"https://github.com/marcusfrdk.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"![Banner](./assets/banner.png)\n\n# Create App Icon\n\n![top language](https://img.shields.io/github/languages/top/marcusfrdk/create-app-icon)\n![code size](https://img.shields.io/github/languages/code-size/marcusfrdk/create-app-icon)\n![last commit](https://img.shields.io/github/last-commit/marcusfrdk/create-app-icon)\n![issues](https://img.shields.io/github/issues/marcusfrdk/create-app-icon)\n![contributors](https://img.shields.io/github/contributors/marcusfrdk/create-app-icon)\n\nUse a single command to resize a local or remote image to all the required sizes and formats used in various forms of development.\n\n## Get Started\n\n### Requirements\n\n- Python 3.6 or higher\n\n### Installation\n\nTo get started with the package, run the following commands in your terminal:\n\n```bash\ngit clone https://github.com/marcusfrdk/create-app-icon.git # or download the repository manually\ncd create-app-icon\npip3 install -r requirements.txt\n```\n\n_If you are on Windows, use `pip` instead of `pip3`_\n\n### Supported Images\n\nThis project uses [Pillow](https://python-pillow.org/) to handle image files, [here's the list.](https://pillow.readthedocs.io/en/stable/handbook/image-file-formats.html)\n\nNote: _If you round an image with transparency, the images background will be set to black_.\n\n## Usage\n\n### Examples\n\n_If you are on Windows, use `python` instead of `python3`_\n\n#### Local image\n\n```bash\npython3 main.py ./path/to/image.jpg\n```\n\n#### Remote image\n\n```bash\npython3 main.py \"https://example.com/image.jpg\" # make sure to stringify the url\n```\n\n#### Specific preset\n\n```bash\npython3 main.py ./path/to/image.jpg --{PRESET}\n```\n\n#### Align image\n\n```bash\npython3 main.py ./path/to/image.jpg --align top # aligns vertically\n```\n\n```bash\npython3 main.py ./path/to/image.jpg --align left # aligns horizontally\n```\n\n```bash\npython3 main.py ./path/to/image.jpg --align bottom right # aligns both vertically and horizontally\n```\n\n#### Custom Favicon Border Radius\n\n```bash\npython3 main.py ./path/to/image.jpg --radius 15 # percentage (0-100)\n```\n\n### Command Line Arguments\n\n| Argument      | Description                           | Type                     |\n| ------------- | ------------------------------------- | ------------------------ |\n| path          | path or uri to image                  | str                      |\n| --ios         | generate ios icons                    | bool                     |\n| --ipad        | generate iPad icons                   | bool                     |\n| --apple-watch | generate Apple Watch icons            | bool                     |\n| --android     | generate Android icons                | bool                     |\n| --web         | generate Web icons                    | bool                     |\n| -r, --radius  | sets the border radius of the favicon | bool                     |\n| -a, --align   | aligns the image                      | top, right, bottom, left |\n\n## Aliasing (Linux/MacOS)\n\nThis project works relatively to the current working directory, so adding an alias to the script can make it easier to use. To add an alias, add the following line to your `.bashrc` or `.zshrc` file:\n\n```bash\nalias cai=\"python3 /path/to/create-app-icon/main.py\"\n```\n\n## Credits\n\n- [Landscape example image](https://unsplash.com/photos/HpVgq2BIjbw)\n- [Portrait example image](https://unsplash.com/photos/odJtBMxGEfk)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarcusfrdk%2Fcreate-app-icon","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarcusfrdk%2Fcreate-app-icon","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarcusfrdk%2Fcreate-app-icon/lists"}