# fur
**Repository Path**: fozei/fur
## Basic Information
- **Project Name**: fur
- **Description**: No description available
- **Primary Language**: Unknown
- **License**: MIT
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2020-04-08
- **Last Updated**: 2020-12-19
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
fur
==========
[![Build Status][bd_travis_shield_url]][bd_travis_url]
[![npm Version][bd_npm_shield_url]][bd_npm_url]
[![JS Standard][bd_standard_shield_url]][bd_standard_url]
[bd_repo_url]: https://github.com/fur-labo/fur
[bd_travis_url]: http://travis-ci.org/fur-labo/fur
[bd_travis_shield_url]: http://img.shields.io/travis/fur-labo/fur.svg?style=flat
[bd_travis_com_url]: http://travis-ci.com/fur-labo/fur
[bd_travis_com_shield_url]: https://api.travis-ci.com/fur-labo/fur.svg?token=
[bd_license_url]: https://github.com/fur-labo/fur/blob/master/LICENSE
[bd_codeclimate_url]: http://codeclimate.com/github/fur-labo/fur
[bd_codeclimate_shield_url]: http://img.shields.io/codeclimate/github/fur-labo/fur.svg?style=flat
[bd_codeclimate_coverage_shield_url]: http://img.shields.io/codeclimate/coverage/github/fur-labo/fur.svg?style=flat
[bd_gemnasium_url]: https://gemnasium.com/fur-labo/fur
[bd_gemnasium_shield_url]: https://gemnasium.com/fur-labo/fur.svg
[bd_npm_url]: http://www.npmjs.org/package/fur
[bd_npm_shield_url]: http://img.shields.io/npm/v/fur.svg?style=flat
[bd_standard_url]: http://standardjs.com/
[bd_standard_shield_url]: https://img.shields.io/badge/code%20style-standard-brightgreen.svg
Quick generator for banner, favicon, etc...
```javascript
// Generate favicon with command options.
$ fur favicon "my-favicon.png" --color b --font n --text oh --shape c
```
Getting started
------
### Requirements
+ [node.js>=10][nodejs_url]
### Installation
fur is available as an [npm][npm_url] package.
```bash
# Install fur as a global module.
$ npm install fur -g
```
Or you can install it without `-g` option and use [Programmatic API](#programmatic-api).
### Available Commands
```bash
$ fur -h
Usage: fur [options] [command]
Options:
-V, --version output the version number
-h, --help output usage information
Commands:
banner [options] Generate a banner.
favicon [options] Generate a favicon.
```
### Programmatic API
fur provides programmatic API which enables you to execute fur commands from Node.js program.
```javascript
const fur = require('fur')
;(async () => {
await fur.banner('my-banner.svg', {
text: 'coz',
color: 'o',
font: 'aa',
style: 'plain',
shape: 'k'
})
})()
```
[nodejs_url]: https://nodejs.org/
[npm_url]: https://www.npmjs.com
Generating Logo Banner
------------------
### Banner Examples
| Image | Command |
| ----- | ------- |
|
| ` $ fur banner "fur-banner.png" --text="FUR" --color="#ff9100" --font="bt" --shape="a" ` |
|
| ` $ fur banner "coz-banner.png" --text="coz" --color="#00b560" --font="aa" --shape="b" ` |
|
| ` $ fur banner "apeman-banner.png" --text="apeman" --color="n" --font="p" --shape="a" ` |
|
| ` $ fur banner "pudding-banner.png" --text="PUDDING" --color="bi" --font="cn" --shape="e" ` |
|
| ` $ fur banner "pon-banner.png" --text="pon" --color="ah" --font="ar" --shape="f" ` |
|
| ` $ fur banner "rfunc-banner.png" --text="rfunc" --color="ac" --font="e" --shape="f" ` |
These examples are available [here](https://github.com/fur-labo/fur-examples).
### Banner Usage
```bash
$ fur banner -h
Usage: banner [options]
Generate a banner.
Options:
-c, --color Color expression string or color theme name.
-s, --shape Banner style.
-f, --font Font file name or font theme name.
-F, --font-size Size of font.
-H, --height Banner height.
-o, --format File format. 'svg' or 'png'.
-t, --text Banner text.
-W, --width Banner width.
-v, --verbose Emit verbose log.
-h, --help output usage information
```
Generating Favicon
------------------
### Favicon Examples
| Image | Command |
| ----- | ------- |
|
| ` $ fur favicon "f-favicon.png" --text="F" --color="#ff9100" --font="bt" --shape="a" ` |
|
| ` $ fur favicon "c-favicon.png" --text="c" --color="#00b560" --font="aa" --shape="c" ` |
|
| ` $ fur favicon "ap-favicon.png" --text="ap" --color="n" --font="p" --shape="g" ` |
|
| ` $ fur favicon "p-favicon.png" --text="P" --color="bi" --font="cn" --shape="a" ` |
|
| ` $ fur favicon "pon-favicon.png" --text="pon" --color="ah" --font="ar" --shape="g" ` |
|
| ` $ fur favicon "rf-favicon.png" --text="rf" --color="ac" --font="e" --shape="c" --font-size="148" ` |
|
| ` $ fur favicon "mw-favicon.png" --text="mw" --color="n" --font="p" --shape="i" --font-size="92" ` |
|
| ` $ fur favicon "api-favicon.png" --text="api" --color="n" --font="p" --shape="i" --font-size="92" ` |
|
| ` $ fur favicon "a-favicon.png" --text="a" --color="n" --font="p" --shape="g" --font-size="92" ` |
These examples are available [here](https://github.com/fur-labo/fur-examples).
### Favicon Usage
```bash
$ fur favicon -h
Usage: favicon [options]
Generate a favicon.
Options:
-c, --color Color expression string or color theme name.
-f, --font Font file name or font theme name.
-F, --font-size Size of font.
-S, --size Favicon size.
-s, --shape Banner style.
-t, --text Favicon text.
-o, --format File format. 'svg' or 'png'.
-v, --verbose Emit verbose log.
-h, --help output usage information
```
Theme Gallery
------------
+ [Color Themes](http://fur-labo.github.io/fur-colors)
+ [Font Themes](http://fur-labo.github.io/fur-fonts)
+ [Shape Themes](http://fur-labo.github.io/fur-shapes)
About this project
--------
### Author
+ [Taka Okunishi](http://okunishitaka.com)
### Donation
Support this project and [others by okunishinishi][my_gratipay_url] via [gratipay][my_gratipay_url].
[
][my_gratipay_url]
[my_gratipay_url]: https://gratipay.com/okunishinishi/
[my_gratipay_budge_url]: http://img.shields.io/gratipay/okunishinishi.svg?style=flat
License
-------
This software is released under the [MIT License](https://github.com/fur-labo/fur/blob/master/LICENSE).
Links
------
+ [fur-examples][fur_examples_url]
+ [fur-colors][fur_colors_url]
+ [fur-fonts][fur_fonts_url]
+ [fur-shapes][fur_shapes_url]
[fur_examples_url]: https://github.com/fur-labo/fur-examples
[fur_colors_url]: https://github.com/fur-labo/fur-colors
[fur_fonts_url]: https://github.com/fur-labo/fur-fonts
[fur_shapes_url]: https://github.com/fur-labo/fur-shapes