Skip to content

qr

Usage
qr [text...]

Generates a UTF-8 QR code from the given text or from stdin if no argument is provided. Uses qrencode locally if available, otherwise falls back to the qrenco.de API via curl.

text... Text to encode; reads from stdin if omitted

Exit status of qrencode, or curl if qrencode is unavailable

Terminal window
qr "https://example.com"
echo "hello" | qr

Dependencies: curl, qrencode

Classification: self-limiting(cat), network