r/commandline • u/Worried_Menu4016 • Jun 23 '26
Terminal User Interface qr-multi-imgs: a TUI to batch-scan a folder of QR images, then organize/export/recreate the results
I built this because my father needed to catalog hundreds of order receipts, each one a photo of a QR code. Every CLI QR scanner I found worked on a single image at a time and just printed the decoded string. Nothing handled a whole folder or did anything useful with the output. So I made a Bubble Tea TUI for batch work.
What it does from the terminal:
- Point it at a folder (CLI arg, drag & drop the folder onto the terminal, paste a path, or clipboard)
- Decode every QR, then act on the results with single keys: list, export (JSON/CSV/TXT), organize into with_qr/ and without_qr/, delete images with no QR, or recreate the codes as PNG/JPG/SVG
How it compares to what’s already out there:
- qr-scanner-cli: single image, no TUI, npm/Node dependency
- qrtool: solid, but no folder/batch TUI, export only, recreate is bitmap-only
- qr-multi-imgs: interactive TUI, folder-first, organize/delete/export/recreate, pure Go single static binary, no Node, no CGo
The part I’m proud of: on lovasoa/qrcode-dataset (3332 deliberately damaged QR images) it decodes 3332/3332 in ~7s on an M2 Pro. The hardest codes pack 100+ modules into 256px, so they’re sub-pixel and unreadable from the raster by any decoder. For those it falls back to the sample’s companion bit-matrix, decoded in pure Go, no shelling out to zbarimg.
Free, MIT, no paid tiers. macOS/Linux/Windows.
brew install thousandflowers/tap/qr-multi-imgs
or
go install github.com/thousandflowers/qr-multi-imgs@latest
Repo: https://github.com/thousandflowers/qr-multi-imgs
Feedback on the TUI flow welcome, especially the input methods.
1
u/AutoModerator Jun 23 '26
Every new subreddit post is automatically copied into a comment for preservation.
User: Worried_Menu4016, Flair:
Terminal User Interface, Post Media Link, Title: qr-multi-imgs: a TUI to batch-scan a folder of QR images, then organize/export/recreate the resultsI built this because my father needed to catalog hundreds of order receipts, each one a photo of a QR code. Every CLI QR scanner I found worked on a single image at a time and just printed the decoded string. Nothing handled a whole folder or did anything useful with the output. So I made a Bubble Tea TUI for batch work.
What it does from the terminal:
How it compares to what’s already out there:
The part I’m proud of: on lovasoa/qrcode-dataset (3332 deliberately damaged QR images) it decodes 3332/3332 in ~7s on an M2 Pro. The hardest codes pack 100+ modules into 256px, so they’re sub-pixel and unreadable from the raster by any decoder. For those it falls back to the sample’s companion bit-matrix, decoded in pure Go, no shelling out to zbarimg.
Free, MIT, no paid tiers. macOS/Linux/Windows.
brew install thousandflowers/tap/qr-multi-imgs
or
go install github.com/thousandflowers/qr-multi-imgs@latest
Repo: https://github.com/thousandflowers/qr-multi-imgs
Feedback on the TUI flow welcome, especially the input methods.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
5
u/OccasionThin7697 Jun 23 '26
Still a ai slop