Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/alvarowolfx/iconik
- Owner: alvarowolfx
- License: mit
- Created: 2018-12-21T03:32:23.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2022-12-15T22:17:02.000Z (about 2 years ago)
- Last Synced: 2024-04-14T15:19:43.818Z (10 months ago)
- Topics: android, app, flutter, icon, ionic, ios, react-native
- Language: JavaScript
- Size: 98.6 KB
- Stars: 8
- Watchers: 3
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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 ICONARGUMENTS
ICON input iconOPTIONS
-h, --help show CLI help
-o, --output=output [default: icons] output folder
-v, --version show CLI version
--android generate android icons
--ios generate ios iconsDESCRIPTION
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.