2 stable releases
1.1.0 | Mar 19, 2025 |
---|---|
1.0.0 | Jul 29, 2024 |
#165 in Visualization
134 downloads per month
13KB
268 lines
Simple QR Code Generator
Versions
Version | Released | Change |
---|---|---|
1.0.0 | 29-Jul-2024 | Initial version. |
1.1.0 | 19-Mar-2025 | Print space around QR code. |
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
~64K SLoC