Scan a QR code in the terminal using the system camera or a given image.
https://user-images.githubusercontent.com/11632726/178779071-ad5ca7da-0fc3-48c1-b725-a9834db39134.mp4
### Install [![Packaging status](https://repology.org/badge/vertical-allrepos/qrscan.svg)](https://repology.org/project/qrscan/versions) #### Scoop ```powershell scoop bucket add extras scoop install qrscan ``` #### Cargo ```bash # On Ubuntu, first install libclang-dev (apt-get install libclang-dev) cargo install --locked --force qrscan ``` #### Nix Flake ```bash nix profile install github:sayanarijit/qrscan ``` #### Pre-built binaries Download the appropriate binary from the [latest release](https://github.com/sayanarijit/qrscan/releases/latest). ### Usage Scan via the system camera with terminal preview ```bash qrscan --preview ``` Scan a given image file ```bash qrscan path/to/file # Or read from stdin cat /path/to/file | qrscan - ``` Print the QR code on the terminal ```bash qrscan