go-qr-generator

GitHub go.mod Go version (subdirectory of monorepo) GitHub

A simple CLI application to generate a QR code for URL links in a given text file.

Usage

Make sure you have Go installed and have the go command available in your PATH.

go get github.com/bekbolsky/go-qr-generator

Then, you can use the application:

go-qr-generator -input=path-to-your-file.txt -output=your-folder-or-path

The application will generate a QR code for each line in the input file.

Additionally, you can use the -help flag to see the usage:

go-qr-generator -help

There are also some other flags:

  • -transparent: enables the transparent background of the QR code. Default is false.
  • -fgcolor: sets the foreground color of the QR code. Default is #000000.

License

MIT

GitHub

View Github