This is a simple command-line tool written in Go for generating and decoding QR codes using the skip2qrcode and tuotooqrcode packages.
To generate a QR code, use the following command:
go run main.go -mode=generate -input="YOUR_TEXT_HERE" -output="output.png"
Replace "YOUR_TEXT_HERE" with the text for which you want to generate the QR code. The output will be saved in the file specified by the -output flag (default: qrcode.png).
To decode a QR code, use the following command:
go run main.go -mode=decode -input="input.png"
Replace "input.png" with the filename of the QR code image you want to decode.
Make sure you have Go installed on your machine.
git clone https://github.com/dhawal-pandya/qrcode-generator-decoder.git
cd qrcode-generator-decoder
go build
./qrcode-generator-decoder -mode=generate -input="YOUR_TEXT_HERE" -output=output.png
skip2qrcode for generating QR codes
tuotooqrcode for decoding QR codes
Feel free to contribute or report issues!