mirror of
https://github.com/aruZeta/QRterm
synced 2026-01-15 05:11:35 +00:00
No description
| share/img | ||
| src | ||
| .envrc | ||
| .gitignore | ||
| config.nims | ||
| flake.lock | ||
| flake.nix | ||
| LICENSE | ||
| QRterm.nimble | ||
| README.md | ||
QRterm - A simple QR generator in your terminal
QRterm is a simple terminal QR generator made with QRgen.
Prerequisites
nim --version >= 1.6.0
Installation
nimble install qrterm
Features
- Supports all QR versions: from
1to40. - Supports all EC (Error Correction) levels:
L,M,QandH. - Supports
numeric mode,alphanumeric modeandbyte mode.
Usage
Pass input through arguments or via stdin:
qrterm "Hello World"
echo "Hello World" | qrterm
We could for example also show a QR with the password of a network connection:
nmcli -s -g 802-11-wireless-security.psk connection show <connection> | qrterm
Advanced options
-l, --ecLevel: Set the EC (error correction) level, possible values:
* l, low
* m, medium (default)
* q, quartile
* h, high
-h, --help: Show a help message
-v, --version: Show the version of the program