https://github.com/maxatome/bottle-label
Generate labels for (wine) bottle neck
https://github.com/maxatome/bottle-label
bottle bottle-label bottleneck enology golang golang-application oenology wine
Last synced: about 2 months ago
JSON representation
Generate labels for (wine) bottle neck
- Host: GitHub
- URL: https://github.com/maxatome/bottle-label
- Owner: maxatome
- License: bsd-2-clause
- Created: 2017-10-08T08:32:29.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2021-04-03T10:12:46.000Z (about 4 years ago)
- Last Synced: 2024-05-01T13:40:02.474Z (about 1 year ago)
- Topics: bottle, bottle-label, bottleneck, enology, golang, golang-application, oenology, wine
- Language: Go
- Homepage:
- Size: 30.3 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# bottle-label
## Installation
```
go install
```## Usage
```
bottle-label -font georgia.json -output wine.pdf \
"3 x Domaine Vayssette\nCuvée Léa - 2011\nGaillac - 9,20 -> 2016/9" \
"6 x Château l'Hospitalet\nLa Clape - 2015\nLanguedoc - 7,85" \
"Romain Duvernay\nVisan - 2016\nCôtes du Rhône V. - 5,30"
```
The `georgia.json` has to be generated with `makefont` utility of
`gofpdf` package, see https://github.com/jung-kurt/gofpdf#nonstandard-fontsBy default, `bottle-label` use helvetica font.
`-output` is optional. Default output file is `output.pdf`.