Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/thiamsantos/favicon-generator
Command-line to generate favicons from a image.
https://github.com/thiamsantos/favicon-generator
command-line favicon
Last synced: about 1 month ago
JSON representation
Command-line to generate favicons from a image.
- Host: GitHub
- URL: https://github.com/thiamsantos/favicon-generator
- Owner: thiamsantos
- License: apache-2.0
- Created: 2017-05-11T00:44:54.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2021-08-17T20:21:22.000Z (over 3 years ago)
- Last Synced: 2023-07-11T10:05:16.511Z (over 1 year ago)
- Topics: command-line, favicon
- Language: Go
- Homepage:
- Size: 192 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# favicon-generator
Command-line to generate favicons from a image.
## Installation
Install [libvips](https://github.com/libvips/libvips):
```shell
$ apt install libvips-dev
```You need `go` installed and `GOBIN` in your `PATH`. Once that is done, run the
command:```shell
$ go get -u github.com/thiamsantos/favicon-generator
```## Usage
```
Usage
$ favicon-generator [options]Options
-i string
Input image (default "logo.png")
-o string
Folder to output the favicons (default "favicons")Examples
$ favicon-generator
$ favicon-generator -i path/to/logo.jpg
$ favicon-generator -o /tmp/favicons
$ favicon-generator -i path/to/logo.jpg -o /tmp/favicons
```