Qr

QR code generation — terminal display, PNG output, pure shell encoding. Zero barrier — use with x-cmd, Python qrcode, or any QR library. Use for "qr", "qrcode", "barcode", "encode".

x-cmd Updated 4.8k repo stars

File contents

qr — skill0

Generate QR codes from text or URLs. Terminal display, PNG output, or pure shell encoding.

Quick Start

# With x-cmd
x qr "Hello World"                   # Terminal QR code
x qr "https://example.com"           # URL to QR

# Without x-cmd — use Python
pip install qrcode
python3 -c "import qrcode; qrcode.make('Hello').save('qr.png')"

# Or use online API
curl -s "https://api.qrserver.com/v1/create-qr-code/?size=200x200&data=Hello" -o qr.png

What's Available

  • Terminal — Display QR in terminal
  • PNG — Generate PNG file
  • Pure shell — AWK-based encoding (no deps)

This skill0 grows

Starting with the essentials. Will add:

  • QR encoding algorithms
  • Error correction levels
  • WiFi QR format

Related

x-cmd/skill0 commit ea9e12c6aa

Frequently asked questions

npx get-skill add x-cmd/qr-3