#qr-code #qrcode

app qrg

Generates QRCodes with a logo overlay

3 releases

0.1.1 Mar 3, 2023
0.1.0 Feb 16, 2023
0.1.0-rc1 Feb 8, 2023

#7 in #qr-code

GPL-3.0 license

422 lines


dependency status Crates.io

QR Generate!

For more information on the project, take a look at the README and this website.


Note Make sure you have Cargo installed

Currently, as the crate is not published, you can only install it from source with

# From source
# cargo install --path cli

cargo install qrg


You can get the list of available commands as follows:

$ qrg -h
Generates QRCodes with a logo overlay.

Usage: qrg.exe [OPTIONS] <CONTENT>

  <CONTENT>  The text the qr code should contain

  -d, --destination <DESTINATION>  The filename the QR Code should be saved in [default: out.png]
  -s, --size <SIZE>                The size of the QR Code [default: 600]
  -c, --bg-color <BG_COLOR>        The background color of the QR Code (in hex) [default: FFFFFF]
  -l, --logo <LOGO>                The name of the logo to use in the overlay [default: google]
  -h, --help                       Print help
  -V, --version                    Print version

I will try to keep this outdated but you should run it for yourself just in case some command detail has changed.

Example Usage

Create a QR Code pointing to github.com and dump the image to a file called tmp.png.

qrg github.com -d tmp.png


~445K SLoC