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: 5 months 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
- Archived: true
- Created: 2017-05-11T00:44:54.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2024-02-08T15:08:46.000Z (over 1 year ago)
- Last Synced: 2025-01-13T06:43:04.847Z (6 months ago)
- Topics: command-line, favicon
- Language: Go
- Homepage:
- Size: 192 KB
- Stars: 1
- Watchers: 3
- Forks: 1
- 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
```