https://github.com/mirmousaviii/app-iconset-generator
A simple CLI tool to generate Android and iOS icons from a single image.
https://github.com/mirmousaviii/app-iconset-generator
android icon icon-resize iconset ios react-native
Last synced: 3 months ago
JSON representation
A simple CLI tool to generate Android and iOS icons from a single image.
- Host: GitHub
- URL: https://github.com/mirmousaviii/app-iconset-generator
- Owner: mirmousaviii
- Created: 2025-03-12T16:22:25.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2025-03-12T22:03:51.000Z (3 months ago)
- Last Synced: 2025-03-12T22:23:13.557Z (3 months ago)
- Topics: android, icon, icon-resize, iconset, ios, react-native
- Language: TypeScript
- Homepage: https://www.npmjs.com/package/app-icon-set-generator
- Size: 1.76 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# app-iconset-generator
[](https://www.npmjs.com/package/app-iconset-generator)
A simple CLI tool to generate Android and iOS icons from a single image.
## 🚀 Installation
```sh
npm install -g app-iconset-generator
```## 📦 Usage
```sh
app-iconset-generator -i -o# OR
app-iconset-generator --input --output
```# Options
| Option | Description |
|-----------------|----------------------------------|
| `-i, --input` | Input image file (required) |
| `-o, --output` | Output directory (default: `icons`) |
| `-n, --no-round` | Disable generating round Android icons |## 📌 Example
### Generate icons from an image
```sh
app-iconset-generator -i ./example/logo.png -o ./example
```### Without `-o`, saves to `icons/`
```sh
app-iconset-generator -i logo.png
```## 🛠 Development
```sh
git clone https://github.com/mirmousaviii/app-iconset-generator.git
cd app-iconset-generator
npm install
npx tsc
npm link # to use the local CLI tool
npm unlink -g app-iconset-generator # to remove the local CLI tool
app-iconset-generator -i ./example/logo.png -o ./example
# Or test with `node`
node dist/index.js -i ./example/logo.png -o ./example # Test in local
```## 🤝 Contributing
If you have any idea, feel free to open an issue and/or create a pull request.
# 📜 License
This project is licensed under the **MIT License**.