QRRS(1)
NAME
qrrs — CLI QR code generator and reader written in rust
SYNOPSIS
$
cargo install qrrsINFO
109 stars
9 forks
0 views
RustShell & Terminal
DESCRIPTION
CLI QR code generator and reader written in rust
README
QRrs
CLI QR code generator and reader written in rust
Info
QRrs is a simple, cross-platform, command-line utility written in rust for working with qr codes (what actually follows from the name).
Usage
Quickly generate qr code
qrrs "Your input here"
Generate code, than read it
qrrs "Something" /tmp/qr.png
$ qrrs --read /tmp/qr.png
Something
Print generated code to term
qrrs -t "Something" /tmp/qr.png
█████████████████████████████
█████████████████████████████
████ ▄▄▄▄▄ █▄ █▄▄█ ▄▄▄▄▄ ████
████ █ █ █▀▄████ █ █ ████
████ █▄▄▄█ █ ▄█▀▄█ █▄▄▄█ ████
████▄▄▄▄▄▄▄█ ▀ ▀ █▄▄▄▄▄▄▄████
████▄███ █▄▄ ▄▀ ▀▄▄▄ █▀▄████
████▄ ▀█▀▄▄▀▄▀▀▄█▀▄█ █▄ ▀████
████▄█▄██▄▄▄▀▀▀█ ▄▀█ ▀█▄ ████
████ ▄▄▄▄▄ █▄▀▄▀ ▄▄▀ ██ █████
████ █ █ █▄█▀ ▀▄▄█ ▀▀ ▀████
████ █▄▄▄█ ██▀ ▄█▀ ▀ ████████
████▄▄▄▄▄▄▄█▄▄▄█▄▄▄▄█▄██▄████
█████████████████████████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
Show code as text in terminal
qrrs --read --terminal /tmp/qr.png
█████████████████████████████
█████████████████████████████
████ ▄▄▄▄▄ █▄ █▄▄█ ▄▄▄▄▄ ████
████ █ █ █▀▄████ █ █ ████
████ █▄▄▄█ █ ▄█▀▄█ █▄▄▄█ ████
████▄▄▄▄▄▄▄█ ▀ ▀ █▄▄▄▄▄▄▄████
████▄███ █▄▄ ▄▀ ▀▄▄▄ █▀▄████
████▄ ▀█▀▄▄▀▄▀▀▄█▀▄█ █▄ ▀████
████▄█▄██▄▄▄▀▀▀█ ▄▀█ ▀█▄ ████
████ ▄▄▄▄▄ █▄▀▄▀ ▄▄▀ ██ █████
████ █ █ █▄█▀ ▀▄▄█ ▀▀ ▀████
████ █▄▄▄█ ██▀ ▄█▀ ▀ ████████
████▄▄▄▄▄▄▄█▄▄▄█▄▄▄▄█▄██▄████
█████████████████████████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
Save it into another file
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.
qrrs --read /tmp/qr.png /tmp/qr1.png
Create code using pipeline
Use "-" to signalize passing data via stdin.
$ echo "something" | qrrs - /tmp/something.png
$ qrrs -r /tmp/something.png
something
Invert colors
Create code specifying it's margin
Install
Nix
nix run github:Lenivaya/qrrs -- "your input"
Using last version through overlay in nixos config
Add this repository as an input to your flake:
nixpkgs.url = "nixpkgs/nixpkgs-unstable";
qrrs = {
url = "github:lenivaya/qrrs";
inputs.nixpkgs.follows = "nixpkgs";
};
Then use the overlay somewhere in your config:
{inputs, pkgs, ...}: {
nixpkgs.overlays = [inputs.qrrs.overlays.default];
environment.systemPackages = with pkgs; [qrrs];
}
NetBSD
pkgin install qrrs
From crates.io
cargo install qrrs
From github
cargo install --git https://github.com/Lenivaya/qrrs.git
Precompiled binaries
SEE ALSO
fzf(1)— A command-line fuzzy finder — interactive Unix filter for any liststarship(1)— The minimal, blazing-fast, and infinitely customizable prompt for any shellzoxide(1)— A smarter cd command — learns your habits and jumps instantlyblade-code(1)— AI-powered CLI coding agent with 20+ built-in tools, MCP support, and multi-model providerslexy(1)— Lexy is a lightweight CLI tool that fetches programming tutorials from "Learn X in Y Minutes" directly into your…
clihub3/4/2026QRRS(1)