No description
Find a file
2022-09-29 18:27:24 +02:00
share/img [add] QRterm logo extended generator 2022-09-26 19:31:34 +02:00
src [release] v1.0.1 2022-09-26 19:31:35 +02:00
.envrc [add] Flake with nim-1.6.6 and direnv setup 2022-09-25 13:04:24 +02:00
.gitignore [add] Ignore /build, /docs and /bin 2022-09-25 15:13:41 +02:00
config.nims [add] Set outdir to /build 2022-09-25 15:13:28 +02:00
flake.lock [add] Flake with nim-1.6.6 and direnv setup 2022-09-25 13:04:24 +02:00
flake.nix [add] Flake with nim-1.6.6 and direnv setup 2022-09-25 13:04:24 +02:00
LICENSE [add] LICENSE 2022-09-25 13:04:11 +02:00
QRterm.nimble [release] v1.0.1 2022-09-26 19:31:35 +02:00
README.md [add] QRgen link in README 2022-09-29 18:27:24 +02:00

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 1 to 40.
  • Supports all EC (Error Correction) levels: L, M, Q and H.
  • Supports numeric mode, alphanumeric mode and byte 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