A simple CLI application to generate a QR code for URL links in a given text file.
Make sure you have Go installed and have the go
command available in your PATH.
First, clone the repository:
git clone https://github.com/bekbolsky/go-qr-generator.git
Then, go to the directory:
cd go-qr-generator
Build the application:
go build
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 isfalse
.-fgcolor
: sets the foreground color of the QR code. Default is#000000
.