1 | fur
|
2 | ==========
|
3 |
|
4 |
|
5 | This file is generated by ape-tmpl. Do not update manually.
|
6 | --->
|
7 |
|
8 |
|
9 | <a name="badges"></a>
|
10 |
|
11 | [![Build Status][bd_travis_shield_url]][bd_travis_url]
|
12 | [![Code Climate][bd_codeclimate_shield_url]][bd_codeclimate_url]
|
13 | [![Code Coverage][bd_codeclimate_coverage_shield_url]][bd_codeclimate_url]
|
14 | [![Dependency Status][bd_gemnasium_shield_url]][bd_gemnasium_url]
|
15 | [![npm Version][bd_npm_shield_url]][bd_npm_url]
|
16 |
|
17 | [bd_repo_url]: https://github.com/fur-repo/fur
|
18 | [bd_travis_url]: http://travis-ci.org/fur-repo/fur
|
19 | [bd_travis_shield_url]: http://img.shields.io/travis/fur-repo/fur.svg?style=flat
|
20 | [bd_license_url]: https://github.com/fur-repo/fur/blob/master/LICENSE
|
21 | [bd_codeclimate_url]: http://codeclimate.com/github/fur-repo/fur
|
22 | [bd_codeclimate_shield_url]: http://img.shields.io/codeclimate/github/fur-repo/fur.svg?style=flat
|
23 | [bd_codeclimate_coverage_shield_url]: http://img.shields.io/codeclimate/coverage/github/fur-repo/fur.svg?style=flat
|
24 | [bd_gemnasium_url]: https://gemnasium.com/fur-repo/fur
|
25 | [bd_gemnasium_shield_url]: https://gemnasium.com/fur-repo/fur.svg
|
26 | [bd_npm_url]: http://www.npmjs.org/package/fur
|
27 | [bd_npm_shield_url]: http://img.shields.io/npm/v/fur.svg?style=flat
|
28 | [bd_bower_badge_url]: https://img.shields.io/bower/v/fur.svg?style=flat
|
29 |
|
30 |
|
31 |
|
32 |
|
33 |
|
34 | <a name="description"></a>
|
35 |
|
36 | Quick generator for banner, favicon, etc...
|
37 |
|
38 |
|
39 |
|
40 |
|
41 |
|
42 | <a name="overview"></a>
|
43 |
|
44 | <a href="https://github.com/fur-repo/fur#readme"><img style="height:128px;" src="docs/fur-banner.png" height="128"/></a>
|
45 |
|
46 | ```javascript
|
47 | // Generate favicon with command options.
|
48 | $ fur favicon "my-favicon.png" --color b --font n --text oh --shape c
|
49 | ```
|
50 |
|
51 |
|
52 |
|
53 |
|
54 |
|
55 |
|
56 |
|
57 | <a name="sections"></a>
|
58 |
|
59 |
|
60 |
|
61 | <a name="section-doc-readme-02-howto-md"></a>
|
62 | Getting started
|
63 | ------
|
64 |
|
65 | ### Requirements
|
66 |
|
67 | + [node.js>=0.10.3][nodejs_url]
|
68 | + [phantomjs>=2.0.0](http://phantomjs.org/)
|
69 |
|
70 | ### Installation
|
71 |
|
72 | fur is available as an [npm][npm_url] package.
|
73 |
|
74 | ```bash
|
75 | # Install fur as a global module.
|
76 | $ npm install fur -g
|
77 | ```
|
78 |
|
79 | Or you can install it without `-g` option and use [Programmatic API](#programmatic-api).
|
80 |
|
81 | <a name="available commands"/>
|
82 | ### Available Commands
|
83 |
|
84 | ```bash
|
85 | $ fur -h
|
86 |
|
87 | Usage: fur [options] [command]
|
88 |
|
89 |
|
90 | Commands:
|
91 |
|
92 | banner [options] <filename> Generate a banner.
|
93 | favicon [options] <filename> Generate a favicon.
|
94 |
|
95 | Options:
|
96 |
|
97 | -h, --help output usage information
|
98 | -V, --version output the version number
|
99 |
|
100 |
|
101 | ```
|
102 |
|
103 | <a name="programmatic-api"/>
|
104 | ### Programmatic API
|
105 |
|
106 | fur provides programmatic API which enables you to execute fur commands from Node.js program.
|
107 |
|
108 | ```javascript
|
109 | var fur = require('fur');
|
110 | fur.banner('my-banner.svg', {
|
111 | text: "coz",
|
112 | color: "o",
|
113 | font: "aa",
|
114 | style: "plain",
|
115 | shape: "k"
|
116 | }, function (err) {
|
117 | });
|
118 | ```
|
119 |
|
120 |
|
121 | [nodejs_url]: https://nodejs.org/
|
122 | [npm_url]: https://www.npmjs.com
|
123 |
|
124 |
|
125 |
|
126 |
|
127 |
|
128 |
|
129 | <a name="section-doc-readme-03-banners-md"></a>
|
130 | Generating Logo Banner
|
131 | ------------------
|
132 |
|
133 | ### Banner Examples
|
134 |
|
135 | | Image | Command |
|
136 | | ----- | ------- |
|
137 | | <img src="https://github.com/fur-repo/fur-examples/raw/master/example/01-fur/banner.png" height="40" style="height:40px;"/> | ` $ fur banner "fur-banner.png" --text="FUR" --color="#ff9100" --font="bt" --shape="a" ` |
|
138 | | <img src="https://github.com/fur-repo/fur-examples/raw/master/example/02-coz/banner.png" height="40" style="height:40px;"/> | ` $ fur banner "coz-banner.png" --text="coz" --color="#00b560" --font="aa" --shape="b" ` |
|
139 | | <img src="https://github.com/fur-repo/fur-examples/raw/master/example/03-apeman/banner.png" height="40" style="height:40px;"/> | ` $ fur banner "apeman-banner.png" --text="apeman" --color="n" --font="p" --shape="a" ` |
|
140 | | <img src="https://github.com/fur-repo/fur-examples/raw/master/example/04-pudding/banner.png" height="40" style="height:40px;"/> | ` $ fur banner "pudding-banner.png" --text="PUDDING" --color="bi" --font="cn" --shape="e" ` |
|
141 | | <img src="https://github.com/fur-repo/fur-examples/raw/master/example/05-pon/banner.png" height="40" style="height:40px;"/> | ` $ fur banner "pon-banner.png" --text="pon" --color="ah" --font="ar" --shape="f" ` |
|
142 | | <img src="https://github.com/fur-repo/fur-examples/raw/master/example/06-the/banner.png" height="40" style="height:40px;"/> | ` $ fur banner "the-banner.png" --text="the" --color="ac" --font="e" --shape="f" ` |
|
143 |
|
144 | These examples are available [here]().
|
145 |
|
146 | ### Banner Usage
|
147 |
|
148 | ```bash
|
149 | $ fur banner -h
|
150 |
|
151 |
|
152 | Usage: banner [options] <filename>
|
153 |
|
154 | Generate a banner.
|
155 |
|
156 | Options:
|
157 |
|
158 | -h, --help output usage information
|
159 | -c, --color <color> Color expression string or color theme name.
|
160 | -s, --shape <shape> Banner style.
|
161 | -f, --font <font> Font file name or font theme name.
|
162 | -F, --font-size <fontSize> Size of font.
|
163 | -H, --height <height> Banner height.
|
164 | -o, --format <format> File format. 'svg' or 'png'.
|
165 | -t, --text <text> Banner text.
|
166 | -W, --width <width> Banner width.
|
167 | -v, --verbose Emit verbose log.
|
168 |
|
169 |
|
170 | ```
|
171 |
|
172 |
|
173 |
|
174 |
|
175 |
|
176 |
|
177 |
|
178 | <a name="section-doc-readme-04-favicons-md"></a>
|
179 | Generating Favicon
|
180 | ------------------
|
181 |
|
182 | ### Favicon Examples
|
183 |
|
184 | | Image | Command |
|
185 | | ----- | ------- |
|
186 | | <img src="https://github.com/fur-repo/fur-examples/raw/master/example/01-fur/favicon.png" height="40" style="height:40px;" /> | ` $ fur favicon "f-favicon.png" --text="F" --color="#ff9100" --font="bt" --shape="a" ` |
|
187 | | <img src="https://github.com/fur-repo/fur-examples/raw/master/example/02-coz/favicon.png" height="40" style="height:40px;" /> | ` $ fur favicon "c-favicon.png" --text="c" --color="#00b560" --font="aa" --shape="c" ` |
|
188 | | <img src="https://github.com/fur-repo/fur-examples/raw/master/example/03-apeman/favicon.png" height="40" style="height:40px;" /> | ` $ fur favicon "ap-favicon.png" --text="ap" --color="n" --font="p" --shape="g" ` |
|
189 | | <img src="https://github.com/fur-repo/fur-examples/raw/master/example/04-pudding/favicon.png" height="40" style="height:40px;" /> | ` $ fur favicon "p-favicon.png" --text="P" --color="bi" --font="cn" --shape="a" ` |
|
190 | | <img src="https://github.com/fur-repo/fur-examples/raw/master/example/05-pon/favicon.png" height="40" style="height:40px;" /> | ` $ fur favicon "pon-favicon.png" --text="pon" --color="ah" --font="ar" --shape="g" ` |
|
191 | | <img src="https://github.com/fur-repo/fur-examples/raw/master/example/06-the/favicon.png" height="40" style="height:40px;" /> | ` $ fur favicon "the-favicon.png" --text="the" --color="ac" --font="e" --shape="c" --font-size="124" ` |
|
192 | | <img src="https://github.com/fur-repo/fur-examples/raw/master/example/07-apeman-ui-contrib/favicon.png" height="40" style="height:40px;" /> | ` $ fur favicon "ui-favicon.png" --text="ui" --color="n" --font="p" --shape="i" --font-size="92" ` |
|
193 | | <img src="https://github.com/fur-repo/fur-examples/raw/master/example/08-apeman-app-contrib/favicon.png" height="40" style="height:40px;" /> | ` $ fur favicon "app-favicon.png" --text="app" --color="n" --font="p" --shape="i" --font-size="92" ` |
|
194 | | <img src="https://github.com/fur-repo/fur-examples/raw/master/example/09-apeman-task-contrib/favicon.png" height="40" style="height:40px;" /> | ` $ fur favicon "task-favicon.png" --text="task" --color="n" --font="p" --shape="i" --font-size="92" ` |
|
195 | | <img src="https://github.com/fur-repo/fur-examples/raw/master/example/10-apeman-tmpl-contrib/favicon.png" height="40" style="height:40px;" /> | ` $ fur favicon "tmpl-favicon.png" --text="tmpl" --color="n" --font="p" --shape="i" --font-size="92" ` |
|
196 | | <img src="https://github.com/fur-repo/fur-examples/raw/master/example/11-apeman-scaffold-contrib/favicon.png" height="40" style="height:40px;" /> | ` $ fur favicon "scff-favicon.png" --text="scff" --color="n" --font="p" --shape="i" --font-size="92" ` |
|
197 | | <img src="https://github.com/fur-repo/fur-examples/raw/master/example/12-apeman-demo-contrib/favicon.png" height="40" style="height:40px;" /> | ` $ fur favicon "demo-favicon.png" --text="demo" --color="n" --font="p" --shape="i" --font-size="92" ` |
|
198 | | <img src="https://github.com/fur-repo/fur-examples/raw/master/example/13-apeman-bud-contrib/favicon.png" height="40" style="height:40px;" /> | ` $ fur favicon "bud-favicon.png" --text="bud" --color="n" --font="p" --shape="i" --font-size="92" ` |
|
199 |
|
200 | These examples are available [here]().
|
201 |
|
202 |
|
203 | ### Favicon Usage
|
204 |
|
205 | ```bash
|
206 | $ fur favicon -h
|
207 |
|
208 |
|
209 | Usage: favicon [options] <filename>
|
210 |
|
211 | Generate a favicon.
|
212 |
|
213 | Options:
|
214 |
|
215 | -h, --help output usage information
|
216 | -c, --color <color> Color expression string or color theme name.
|
217 | -f, --font <font> Font file name or font theme name.
|
218 | -F, --font-size <fontSize> Size of font.
|
219 | -S, --size <size> Favicon size.
|
220 | -s, --shape <shape> Banner style.
|
221 | -t, --text <text> Favicon text.
|
222 | -o, --format <format> File format. 'svg' or 'png'.
|
223 | -v, --verbose Emit verbose log.
|
224 |
|
225 |
|
226 | ```
|
227 |
|
228 |
|
229 |
|
230 |
|
231 |
|
232 |
|
233 | <a name="section-doc-readme-05-themes-md"></a>
|
234 | Theme Gallery
|
235 | ------------
|
236 |
|
237 | + [Color Themes](http://fur-repo.github.io/fur-colors)
|
238 | + [Font Themes](http://fur-repo.github.io/fur-fonts)
|
239 | + [Shape Themes](http://fur-repo.github.io/fur-themes)
|
240 |
|
241 |
|
242 |
|
243 |
|
244 |
|
245 |
|
246 |
|
247 | <a name="section-doc-readme-11-project-md"></a>
|
248 | About this project
|
249 | --------
|
250 |
|
251 | <a name="11-project-author"></a>
|
252 | ### Author
|
253 |
|
254 | + [Taka Okunishi](http://okunishitaka.com)
|
255 |
|
256 | <a name="11-project-donation"></a>
|
257 | ### Donation
|
258 |
|
259 | Support this project and [others by okunishinishi][my_gratipay_url] via [gratipay][my_gratipay_url].
|
260 |
|
261 | [<img src="https://cdn.rawgit.com/gratipay/gratipay-badge/2.3.0/dist/gratipay.svg" alt="Support via Gratipay"/>][my_gratipay_url]
|
262 |
|
263 |
|
264 |
|
265 | [my_gratipay_url]: https://gratipay.com/okunishinishi/
|
266 | [my_gratipay_budge_url]: http://img.shields.io/gratipay/okunishinishi.svg?style=flat
|
267 |
|
268 |
|
269 |
|
270 |
|
271 |
|
272 |
|
273 |
|
274 |
|
275 |
|
276 | <a name="license"></a>
|
277 |
|
278 | License
|
279 | -------
|
280 | This software is released under the [MIT License](https://github.com/fur-repo/fur/blob/master/LICENSE).
|
281 |
|
282 |
|
283 |
|
284 |
|
285 |
|
286 | <a name="links"></a>
|
287 |
|
288 | Links
|
289 | ------
|
290 |
|
291 | + [fur-examples](https://github.com/fur-repo/fur-examples)
|
292 | + [fur-colors](https://github.com/fur-repo/fur-colors)
|
293 | + [fur-fonts](https://github.com/fur-repo/fur-fonts)
|
294 | + [fur-shapes](https://github.com/fur-repo/fur-shapes)
|
295 |
|
296 |
|