1 stable release

1.0.0 Jul 29, 2024

#2389 in Command line utilities

35 downloads per month

GPL-3.0-or-later

11KB
229 lines

Simple QR Code Generator

Introduction

QRSimple is a command line QR code generator, which outputs QR codes only to the console. It operates in one of three modes:

  • If passed no arguments, it reads standard input.
  • If passed a valid filename, it reads data from that file.
  • If passed anything else, it uses that text.
$ qrsimple https://en.wikipedia.org/wiki/QR_code
█▀▀▀▀▀█ ██▄▀█   ▀  ▀▀ █▀▀▀▀▀█
 ███ █ ▄  █ ▀▀▄ ▄ ▄▀ █ ███ █
 ▀▀▀ █  ▄▄▄▀▀█▀▀█▄█  █ ▀▀▀ █
▀▀▀▀▀▀▀ █ █ ▀▄█▄█▄█▄▀ ▀▀▀▀▀▀▀
█▄▀▀▄█▀█▄▀███▀▀▀██▄▄ ▄█▄▄▀ ▀█
 █ █▄▀▀▄▀▄▄█▄█▄█ █▄ ▄█▄▀ ▀▀▄
 ▄▀▄ █▀▄█▄▀█▄▄ █▄█▄▄  ▄▀ ▀█▄▄
█▀▀ █ ▀▄██   ▄▀ ▄▀▀▀▀ ▄▄▀ ▀█▀
  ▀ ▀▀▄▄▀▄▀█▄ ▀▀▄▀▀█▀ ▀▀█▄█ 
 █▄▀▄▀▀▄▀███  █ ▄█  █▀ ▄ █  
     ▀ ██   █▄▄▄██▀█▀▀▀███▄▄
█▀▀▀▀▀█ █▀▄▀█▀  █ ▄▀█ ▀ ██ █▄
 ███ █ ▄▀ ██▄█▀█▀ ▄██▀██▄▀ ▄
 ▀▀▀ █ ▀▀  ▄   ▄   ▄█ █▄▄▀▄▀
▀▀▀▀▀▀▀ ▀ ▀▀▀ ▀▀   ▀▀      ▀ 

Dependencies

~3.5MB
~65K SLoC