001 Overview
Open source · MIT · Node ≥ 20
Generate QR codes in your terminal ci pipeline shell script container
A fast, minimal CLI. Unicode codes in any shell, PNG export with one flag, stdin piping. Offline, no tracking.
$ npx github:asharahmed/qr-cli "https://example.com"
$ qr "https://github.com/asharahmed/qr-cli"
$
002 Live encoder
Try it live
The same encoding the CLI runs, in your browser. Nothing leaves this page.
Ready · error correction M
$ qr "https://qr-cli.dev"
003 Comparison
Skip the browser
Web generators want a tab, a network connection, and your data. qr-cli wants an argument.
| Capability | QR·CLI | Web tools |
|---|---|---|
| Works offline | Yes | No |
| No browser needed | Yes | No |
| Scriptable · automatable | Yes | No |
| Pipes from stdin | Yes | No |
| No ads or tracking | Yes | No |
| Open source | Yes | No |
004 Capabilities
Everything you need, nothing you don’t
-
No. 01
Terminal native
Crisp Unicode half-block rendering in any shell, local or over SSH.
-
No. 02
PNG export
One flag writes a print-ready PNG at any cell size.
-
No. 03
Theme aware
Inverts modules for light terminals, so the code stays scannable.
-
No. 04
Stdin piping
Reads from pipes and heredocs; drops into any script or cron job.
-
No. 05
Fast
Two dependencies. Codes render in well under a second, even for long URLs.
-
No. 06
Display modes
Compact half-blocks by default; a large mode doubles up for easier scanning.
005 Usage
Small commands, honest output
Pass text, get a code. Everything else is a flag.
006 Install
Install nothing
npx runs it straight from GitHub. Prefer a real binary? Every release ships one for each target.
$ npx github:asharahmed/qr-cli "https://example.com"
Or keep it around: npm i -g github:asharahmed/qr-cli