Directory Compare FCRS-1.0 /llms.txt
← Back to Directory

qrencode

$ qrencode Community Low Risk
Kentaro Fukuchi · AI & Media · LGPL-2.1-or-later · macos / linux / windows

qrencode wraps libqrencode in a tiny C binary to encode URLs, TOTP URIs, or binary payloads into QR or Micro QR codes. It can render directly to stdout in terminal UTF-8 blocks (-t ANSIUTF8) without disk writes or emit crisp SVG/PNG files (-o).

FCRS-1.0 Score
83 /100
Good
Medium Confidence
Zero-Friction Install
brew install qrencode
CLI vs MCP Decision CLI Only

Generating local QR PNGs/SVGs or terminal UTF-8 QR codes takes under 10 ms in shell with no MCP needed.

Agent-Readiness Checklist

— JSON Output
— Field Filtering
✓ Non-Interactive
— Dry-Run
— Read-Only Mode
✓ NO_COLOR Clean
✓ Self-Describing
— Official SKILL.md

Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.

FCRS-1.0 6-Dimension Breakdown

Agent-Readiness 19 / 25

Simple non-interactive CLI supporting stdin (-r -), stdout (-o -), and clean -t UTF8 plain output, though no JSON output.

  • Supports -t UTF8, -t SVG, -o -, and stdin input
Trust & Safety 23 / 25

Terminal output modes (-t UTF8 / -t ANSIUTF8) perform zero disk writes, and stdin avoids shell-history secret leaks.

  • Terminal formats write purely to stdout; -r reads from file/stdin
Setup & Portability 14 / 15

Minimal C binary available across Homebrew, Linux distros, and Windows.

  • Available via brew install qrencode and OS repositories
Utility & Efficiency 12 / 15

Fast, focused QR generator covering PNG, SVG, EPS, ASCII, and UTF-8 terminal output.

  • Supports error-correction levels L/M/Q/H and --inline SVG
Maintenance & Lineage 7 / 10

Stable mature library (fukuchi/libqrencode) by Kentaro Fukuchi.

  • Official fukuchi/libqrencode repository
Docs & Verifiability 8 / 10

Concise --help and man page clearly documenting -t formats and -l correction levels.

  • Clear qrencode --help and man page reference

Security, Auth & Guardrails

Auth Modes
No Auth
Credential Storage

None required; avoid passing sensitive secrets as CLI arguments on multi-user hosts (prefer -r <file> or stdin).

Side Effects
Read-Only Local Write
Cost & Quotas

Free LGPL-2.1-or-later open-source C binary.

Copyable Guardrail for CLAUDE.md / AGENTS.md
# qrencode Agent Rules
- Use `-t UTF8` (plain blocks) or `-o <file>` rather than `-t ANSIUTF8` when capturing output in non-color logs.
- Pass `-r -` via stdin instead of command-line arguments if encoding sensitive tokens or Wi-Fi/TOTP secrets.

Agent-Ready Command Recipes

Safe Read-Only Queries

Render a QR code directly in the terminal
qrencode -t UTF8 "https://followcli.com"

Prints a scannable monochrome UTF-8 QR code to stdout without ANSI colors or disk writes.

Controlled Writes & Previews

Generate a crisp SVG QR code file
qrencode -t SVG -l M -o qr.svg "https://followcli.com"

Encodes the URL with medium (15%) error correction into scalable qr.svg.

Strengths for Agents

  • + Generates scannable QR codes directly to stdout (-t UTF8 / -t ANSIUTF8) with zero disk writes.
  • + Instant C startup and crisp vector (-t SVG) or PNG output.

Caveats & Pitfalls

  • ! Defaults to PNG output requiring -o <file> unless -t ANSIUTF8 / -t UTF8 is specified.
  • ! Only generates QR/Micro QR codes (no Data Matrix, Code 128, or barcode decoding).

Tested Agent Hosts

Claude Code Codex CLI Gemini CLI