{"id":18880282,"url":"https://github.com/hunlongyu/electron-icon-builder","last_synced_at":"2025-04-14T19:32:19.829Z","repository":{"id":38407071,"uuid":"506575460","full_name":"Hunlongyu/electron-icon-builder","owner":"Hunlongyu","description":"An icon generator to generate all the icon files needed for electron packaging","archived":false,"fork":false,"pushed_at":"2023-03-01T14:01:44.000Z","size":257,"stargazers_count":8,"open_issues_count":6,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-04-04T15:53:07.260Z","etag":null,"topics":["electron","electron-icon","electron-icon-builder","icns","ico"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/Hunlongyu.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}},"created_at":"2022-06-23T09:24:43.000Z","updated_at":"2024-07-22T19:21:15.000Z","dependencies_parsed_at":"2024-11-08T06:43:16.378Z","dependency_job_id":"7cb113c2-9d23-4737-ac38-989dc1f81321","html_url":"https://github.com/Hunlongyu/electron-icon-builder","commit_stats":{"total_commits":17,"total_committers":3,"mean_commits":5.666666666666667,"dds":0.4117647058823529,"last_synced_commit":"7428f242350964efbee151f2bfc9e6301eb2aa7d"},"previous_names":["hunlongyu/eib"],"tags_count":15,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hunlongyu%2Felectron-icon-builder","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hunlongyu%2Felectron-icon-builder/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hunlongyu%2Felectron-icon-builder/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hunlongyu%2Felectron-icon-builder/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Hunlongyu","download_url":"https://codeload.github.com/Hunlongyu/electron-icon-builder/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248946068,"owners_count":21187442,"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":["electron","electron-icon","electron-icon-builder","icns","ico"],"created_at":"2024-11-08T06:43:05.002Z","updated_at":"2025-04-14T19:32:19.488Z","avatar_url":"https://github.com/Hunlongyu.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# electron-icon-builder\n\n\u003cp align=\"center\"\u003e\n\t\u003cimg src=\"https://forthebadge.com/images/badges/built-with-love.svg\"\u003e\n\u003cp\u003e\n\u003cp align=\"center\"\u003e\n\u003cimg src=\"https://github.com/aleen42/badges/raw/master/src/visual_studio_code_flat_square.svg?sanitize=true\"\u003e\n\u003cimg src=\"https://github.com/aleen42/badges/raw/master/src/typescript_flat_square.svg?sanitize=true\"\u003e\n\u003c/p\u003e\n\u003cp align=\"center\"\u003e\n\u003cimg alt=\"npm\" src=\"https://img.shields.io/npm/dt/@hunlongyu/electron-icon-builder?style=for-the-badge\"\u003e\n\u003cimg alt=\"GitHub\" src=\"https://img.shields.io/github/license/Hunlongyu/eib?style=for-the-badge\"\u003e\n\u003cp\u003e\n\n# Global Usage\n```bash\n// install\nnpm i -g @hunlongyu/electron-icon-builder\n\n// usage\neib -i relative/path/file.png -o relative/path/folder\n```\n\n# Local Usage\n```bash\n// install\nnpm i -D @hunlongyu/electron-icon-builder\n\n// add a srcipt in package.json file\n\"scripts\": {\n    \"icon\": \"eib  -i relative/path/file.png -o relative/path/folder\"\n}\n\n// usage\nnpm run icon\n```\n\n# Flags\n```\n--input,    -i [String]   [Default: './icon.png'] Path to PNG file, \n--output,   -o [String]   [Default: './build/']   Folder to create files, \n--flatten,  -f [Boolean]  [Default: false]        Flatten output struture\n```\n\n# Recommendations\nInput file should be 1024px x 1024px or larger. Make sure it is a 1 to 1 aspect ratio on width to height.\n\n# Output structure\n```\n[output dir]\n    -[build]\n        -[win]\n            -icon.ico\n        -[mac]\n            - icon.icns\n        -[png]\n            - 16x16.png\n            - 32x32.png\n            - 48x48.png\n            - 64x64.png\n            - 128x128.png\n            - 512x512.png\n```\n\nWhen flatten option is enabled\n\n```\n[output dir]\n    -[build]\n        - icon.icns\n        - icon.ico\n        - 16x16.png\n        - 32x32.png\n        - 48x48.png\n        - 64x64.png\n        - 128x128.png\n        - 512x512.png\n```\n\n# Electron-icon-builder GUI\n| Rust                                                         | C++ Qt                                                       |\n| ------------------------------------------------------------ | ------------------------------------------------------------ |\n| ![00.png](https://s2.loli.net/2022/07/05/O7bXzsL5Q1NMPZJ.png) | ![image.png](https://s2.loli.net/2022/09/02/6oLZE9hN254XVny.png) |\n| Size: 3MB                                                    | Size: 10MB                                                   |\n| Time: 400ms                                                  | Time: 30ms                                                   |\n| Without installation                                         | Without installation                                         |\n| [Download](https://github.com/Hunlongyu/electron-icon-builder/releases/tag/v0.1.7) | [Download](https://github.com/Hunlongyu/electron-icon-builder/releases/tag/v0.1.12) |\n| [Source code](https://github.com/Hunlongyu/electron-icon-builder/tree/rust) | [Source code](https://github.com/Hunlongyu/electron-icon-builder/tree/Qt) |\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhunlongyu%2Felectron-icon-builder","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhunlongyu%2Felectron-icon-builder","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhunlongyu%2Felectron-icon-builder/lists"}