fur
Quick generator for banner, favicon, etc...
Last updated 7 months ago by okunishinishi .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install fur 
SYNC missed versions from official npm registry.

fur

Build Status npm Version JS Standard

Quick generator for banner, favicon, etc...

// Generate favicon with command options.
$ fur favicon "my-favicon.png" --color b --font n --text oh --shape c

Getting started

Requirements

Installation

fur is available as an npm package.

# Install fur as a global module.
$ npm install fur -g

Or you can install it without -g option and use Programmatic API.

Available Commands

$ fur -h

  Usage: fur [options] [command]


  Options:

    -V, --version  output the version number
    -h, --help     output usage information


  Commands:

    banner [options] <filename>   Generate a banner.
    favicon [options] <filename>  Generate a favicon.

Programmatic API

fur provides programmatic API which enables you to execute fur commands from Node.js program.

const fur = require('fur')

;(async () => {
  await fur.banner('my-banner.svg', {
    text: 'coz',
    color: 'o',
    font: 'aa',
    style: 'plain',
    shape: 'k'
  })
})()

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.

Banner Usage

$ fur banner -h


  Usage: banner [options] <filename>

  Generate a banner.


  Options:

    -c, --color <color>         Color expression string or color theme name.
    -s, --shape <shape>         Banner style.
    -f, --font <font>           Font file name or font theme name.
    -F, --font-size <fontSize>  Size of font.
    -H, --height <height>       Banner height.
    -o, --format <format>       File format. 'svg' or 'png'.
    -t, --text <text>           Banner text.
    -W, --width <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.

Favicon Usage

$ fur favicon -h


  Usage: favicon [options] <filename>

  Generate a favicon.


  Options:

    -c, --color <color>         Color expression string or color theme name.
    -f, --font <font>           Font file name or font theme name.
    -F, --font-size <fontSize>  Size of font.
    -S, --size <size>           Favicon size.
    -s, --shape <shape>         Banner style.
    -t, --text <text>           Favicon text.
    -o, --format <format>       File format. 'svg' or 'png'.
    -v, --verbose               Emit verbose log.
    -h, --help                  output usage information

Theme Gallery

About this project

Author

Donation

Support this project and others by okunishinishi via gratipay.

Support via Gratipay

License

This software is released under the MIT License.

Links

Current Tags

  • 6.1.2                                ...           latest (7 months ago)

49 Versions

  • 6.1.2                                ...           7 months ago
  • 6.1.1                                ...           10 months ago
  • 6.1.0                                ...           10 months ago
  • 5.1.1                                ...           a year ago
  • 5.1.0                                ...           a year ago
  • 5.0.2                                ...           2 years ago
  • 5.0.0                                ...           2 years ago
  • 4.1.5                                ...           2 years ago
  • 4.1.4                                ...           2 years ago
  • 4.1.3                                ...           2 years ago
  • 4.1.0                                ...           2 years ago
  • 4.0.4                                ...           2 years ago
  • 4.0.3                                ...           2 years ago
  • 4.0.2                                ...           2 years ago
  • 4.0.1                                ...           2 years ago
  • 4.0.0                                ...           2 years ago
  • 3.0.10                                ...           3 years ago
  • 3.0.9                                ...           3 years ago
  • 3.0.8                                ...           3 years ago
  • 3.0.7                                ...           3 years ago
  • 3.0.5                                ...           3 years ago
  • 3.0.4                                ...           3 years ago
  • 3.0.3                                ...           3 years ago
  • 3.0.2                                ...           3 years ago
  • 3.0.1                                ...           3 years ago
  • 3.0.0                                ...           3 years ago
  • 2.1.9                                ...           3 years ago
  • 2.1.8                                ...           3 years ago
  • 2.1.7                                ...           3 years ago
  • 2.1.6                                ...           3 years ago
  • 2.1.5                                ...           3 years ago
  • 2.1.4                                ...           3 years ago
  • 2.1.3                                ...           3 years ago
  • 2.1.2                                ...           3 years ago
  • 2.1.1                                ...           3 years ago
  • 2.1.0                                ...           3 years ago
  • 2.0.2                                ...           3 years ago
  • 2.0.1                                ...           3 years ago
  • 0.0.11                                ...           4 years ago
  • 0.0.10                                ...           4 years ago
  • 0.0.9                                ...           4 years ago
  • 0.0.7                                ...           4 years ago
  • 0.0.8                                ...           4 years ago
  • 0.0.6                                ...           4 years ago
  • 0.0.5                                ...           4 years ago
  • 0.0.4                                ...           4 years ago
  • 0.0.3                                ...           4 years ago
  • 0.0.2                                ...           4 years ago
  • 0.0.1                                ...           4 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 45
Last Day 0
Last Week 45
Last Month 101
Dependencies (14)
Dev Dependencies (12)
Dependents (1)

Copyright 2014 - 2016 © taobao.org |