Skip to content

kravemir/labelset

Repository files navigation

labelset

Go Reference Go Report Card Test

Labelset is a CLI tool and a go library for generating masses of labels for printing, in quick and simple way.

About

Labelset provides:

  • instance creation from SVG-based templates:
    • XPath for matching text elements for replacements,
    • standard feature rich text/template for replacement contents,
    • JSON file for instance data source.
  • label tiling for printing on pre-cut tiled papers:
    • specify paper by paper size, label size, label offset and label spacing options.

Use as a command line tool

The tool offers command-line interface as a simple way to invoke these manipulations without need to write any custom code.

CLI tool installation

The tool can be installed as a go module:

go install github.com/kravemir/labelset@latest

Usage examples

TO BE documented.

CLI options

Check complete help to see all available options.

Use as a docker image

Prepared docker images are available in Docker Hub repository.

TO BE documented more.

Use as a library

First, use go get to install the latest version of the library.

go get -u github.com/kravemir/labelset@latest

Next, include it in your application:

import "github.com/kravemir/labelset"

License

The project is licensed under Apache License, which allows proprietary use. See LICENSE for more details.