Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/samverschueren/mobicon-cli
Mobile icon generator
https://github.com/samverschueren/mobicon-cli
Last synced: 12 days ago
JSON representation
Mobile icon generator
- Host: GitHub
- URL: https://github.com/samverschueren/mobicon-cli
- Owner: SamVerschueren
- License: mit
- Created: 2015-12-22T13:48:47.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2021-02-10T01:39:14.000Z (over 3 years ago)
- Last Synced: 2024-10-12T01:08:44.617Z (28 days ago)
- Language: JavaScript
- Size: 45.9 KB
- Stars: 112
- Watchers: 6
- Forks: 11
- Open Issues: 3
-
Metadata Files:
- Readme: readme.md
- License: license
Awesome Lists containing this project
- awesome-nodejs-cn - mobicon - 移动端应用图标生成器 (包 / 命令行程序)
- awesome-nodejs-cn - mobicon - **star:110** 移动应用图标生成器 (包 / 命令行程序)
- awesome-nodejs - mobicon - Mobile app icon generator. (Packages / Command-line apps)
- awesome-nodejs - mobicon-cli - Mobile icon generator - ★ 57 (Command-line apps)
- awesome-node - mobicon - Mobile app icon generator. (Packages / Command-line apps)
- awesome-nodejs-cn - mobicon - 移动应用程序图标生成器. (目录 / 命令行应用)
README
# mobicon-cli [![Build Status](https://travis-ci.org/SamVerschueren/mobicon-cli.svg?branch=master)](https://travis-ci.org/SamVerschueren/mobicon-cli)
> Mobile app icon generator
## Install
```
$ npm install --global mobicon-cli
```> Note: Make sure to install [GraphicsMagick](https://github.com/SamVerschueren/mobicon#graphicsmagick) as well.
## Usage
```
$ mobicon --helpUsage
$ mobiconOptions
--platform, -p Platform to generate icons for
--background, -b Color of the icon background if the icon is transparant [Default: white]
--contentRatio, -r Logo-icon ratio [Default: 1]
--roundedCorners Generate icons with rounded corners [Default: true for pwa and Android]
--borderRadius Border radius percentage [Default: 0.0909]
--out, -o Output directory [Default: cwd]Examples
$ mobicon icon.png -p=android
✔ success
$ mobicon icon.png -p=android -p=ios -p=pwa
✔ success
$ mobicon icon.svg -p=ios -o=resources
✔ success
```## Platforms
A list of the available platforms and their generated icons can be found [here](https://github.com/SamVerschueren/mobicon#platforms).
## Related
- [mobicon](https://github.com/SamVerschueren/mobicon) - API for this module
## License
MIT © [Sam Verschueren](http://github.com/SamVerschueren)