/qrg

Generate QR Code on the terminal.

Primary LanguageGoMIT LicenseMIT

qrg - QR Code Generator

Generate QR Code on the terminal.

Build Status Coverage Status

Usage

help:

Usage of qrg:
  -i    reverse QR Code display color
  -l int
        set QR Code quality level: [0~3]
  -o string
        output QR Code file: [.png|.jpeg|.text|.?]

from text:

echo 'hello world!' | qrg
# or
echo 'hello world!' | qrg -i -l 3
# or
echo 'hello world!' | qrg -o hello.txt
# or
echo 'hello world!' | qrg -l 2 -o hello.png

from file:

cat LICENSE | qrg -l 1
# or
cat LICENSE | qrg -o LICENSE.png

Install

If you have a Golang environment:

go get -u github.com/WindomZ/qrg/...

Or download the latest binary release

Changelog

See CHANGELOG.md

Contributing

Welcome to pull requests, report bugs, suggest ideas and discuss, i would love to hear what you think on issues page.

If you like it then you can put a ⭐ on it.

License

MIT