QRrs

CLI QR code generator and reader written in rust

CI License: MIT Version info

Info

emacs screenshot

QRrs is a simple, cross-platform, command-line utility written in rust for working with qr codes (what actually follows from the name).

Usage

Generate code, than read it

console $ qrrs "Something" /tmp/qr.png

console $ qrrs --read /tmp/qr.png Something

Print generated code to term

console $ qrrs -t "Something" /tmp/qr.png

```rich-text-format

█████████████████████████████ █████████████████████████████ ████ ▄▄▄▄▄ █▄ █▄▄█ ▄▄▄▄▄ ████ ████ █ █ █▀▄████ █ █ ████ ████ █▄▄▄█ █ ▄█▀▄█ █▄▄▄█ ████ ████▄▄▄▄▄▄▄█ ▀ ▀ █▄▄▄▄▄▄▄████ ████▄███ █▄▄ ▄▀ ▀▄▄▄ █▀▄████ ████▄ ▀█▀▄▄▀▄▀▀▄█▀▄█ █▄ ▀████ ████▄█▄██▄▄▄▀▀▀█ ▄▀█ ▀█▄ ████ ████ ▄▄▄▄▄ █▄▀▄▀ ▄▄▀ ██ █████ ████ █ █ █▄█▀ ▀▄▄█ ▀▀ ▀████ ████ █▄▄▄█ ██▀ ▄█▀ ▀ ████████ ████▄▄▄▄▄▄▄█▄▄▄█▄▄▄▄█▄██▄████ █████████████████████████████ ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀

```

Show code as text in terminal

console $ qrrs --read --terminal /tmp/qr.png

```rich-text-format

█████████████████████████████ █████████████████████████████ ████ ▄▄▄▄▄ █▄ █▄▄█ ▄▄▄▄▄ ████ ████ █ █ █▀▄████ █ █ ████ ████ █▄▄▄█ █ ▄█▀▄█ █▄▄▄█ ████ ████▄▄▄▄▄▄▄█ ▀ ▀ █▄▄▄▄▄▄▄████ ████▄███ █▄▄ ▄▀ ▀▄▄▄ █▀▄████ ████▄ ▀█▀▄▄▀▄▀▀▄█▀▄█ █▄ ▀████ ████▄█▄██▄▄▄▀▀▀█ ▄▀█ ▀█▄ ████ ████ ▄▄▄▄▄ █▄▀▄▀ ▄▄▀ ██ █████ ████ █ █ █▄█▀ ▀▄▄█ ▀▀ ▀████ ████ █▄▄▄█ ██▀ ▄█▀ ▀ ████████ ████▄▄▄▄▄▄▄█▄▄▄█▄▄▄▄█▄██▄████ █████████████████████████████ ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀

```

Save it into another file

console $ qrrs --read --terminal /tmp/qr.png /tmp/qr1.png

Almost the same result will be without terminal flag, but now instead of QrCode printed in terminal we will see text from it.

console $ qrrs --read /tmp/qr.png /tmp/qr1.png

Install

From crates.io

console $ cargo install qrrs

From github

console $ cargo install --git https://github.com/Lenivaya/qrrs.git

Precompiled binaries