fledge-plugin-qr

Generate QR codes in the terminal — text, URLs, WiFi, and more.

$ fledge plugins install corvid-agent/fledge-plugin-qr click to copy
Swift macOS No Dependencies
███████ ▄▄▄ ███████ █ ▄▄▄ █ █▄ █ ▄▄▄ █ █ ███ █ ▄ ▄ █ ███ █ █▄▄▄▄▄█ ▄▄▄ █▄▄▄▄▄█ ▄▄ ▄▄▄▄▄ ▄▄▄ ▄ ▄ ▄▄▄█▄ ▄ █▄█▄█ █▄▄▄▄▄█ ▄▄ ▄ ▄ █▄ █ ▄▄▄ █ ▄█ ▄███ █ ███ █ ▄ ▄ █▄ █▄▄▄▄▄█ █ ▄ ▄▄█

Commands

fledge qr generate <text> Generate a QR code from any text
fledge qr text <text> Alias for generate
fledge qr url <url> Generate a QR code from a URL
fledge qr wifi Generate a WiFi QR code that phones can scan to connect

Options

Flag Description
--size <n> Module size in characters (default: auto-detect from terminal width)
--invert Invert colors for light terminal backgrounds
--ssid <name> WiFi network name (wifi command)
--password <pass> WiFi password (wifi command)
--security <type> WPA, WEP, or nopass (default: WPA)

Usage

Generate a QR code from text
$ fledge qr generate "Hello, World!"
Share a URL as a QR code
$ fledge qr url https://example.com
WiFi QR code (scan with phone to connect)
$ fledge qr wifi --ssid MyNetwork --password secret123
Invert for light terminals, custom module size
$ fledge qr generate "Hello" --invert --size 1

How it works

Uses macOS CoreImage (CIQRCodeGenerator) for native QR code generation with no external dependencies. The QR matrix is rendered using Unicode half-block characters (▀ ▄ █ and space) so each terminal character cell represents two vertical modules, keeping the output compact and scannable.