Scan a QR code in the terminal using the system camera or a given image.
bash
cargo install --git https://github.com/sayanarijit/qrscan
Scan via the system camera
bash
qrscan
Scan a given image file
bash
qrscan /path/to/image
Print the QR code on the terminal
bash
qrscan </path/to/file> --qr --no-content
Also print QR code metadata
bash
qrscan </path/to/file> --metadata