Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/alvarowolfx/iconik

CLI tool for generating icons for iOS and Android apps.
https://github.com/alvarowolfx/iconik

android app flutter icon ionic ios react-native

Last synced: 15 days ago
JSON representation

CLI tool for generating icons for iOS and Android apps.

Awesome Lists containing this project

README

        

# iconik - App Icon Generator

CLI tool for generating icons for iOS and Android apps.

The goal of the project is to generate the icons necessary, detect the project architeture (Native, React Native, Flutter, Cordova, etc) and setup all the icons accordingly.

### Goals

- [x] Generate icons in all needed sizes.
- [x] Publish as NPM package.
- [ ] Detect project architecture.
- [ ] Setup icons files accordingly to the project architecture.
- [ ] Add option to zip all icons.

### Install
```
npm install -g iconik
```

### Usage
```
Generate app icons in all different sizes.

USAGE
$ iconik ICON

ARGUMENTS
ICON input icon

OPTIONS
-h, --help show CLI help
-o, --output=output [default: icons] output folder
-v, --version show CLI version
--android generate android icons
--ios generate ios icons

DESCRIPTION
Generate app icons in all different sizes.
Please provide an icon with at least 512x512px.
```

### Example Output
```
$ iconik icon.png
✔ Check Input
✔ Image Check
✔ Check output
✔ Generate icons

$ ls icons
hdpi.png [email protected] [email protected] playStore.png
[email protected] [email protected] [email protected] xhdpi.png
[email protected] [email protected] [email protected] xxhdpi.png
[email protected] [email protected] [email protected] xxxhdpi.png
[email protected] [email protected] mdpi.png
```

### Running locally
```
$ ./bin/run ICON
```

### Credits

* [sharp](https://github.com/lovell/sharp) - Blazing fast image resize module.
* [ocli](https://oclif.io) - Awesome CLI Framework.