Skip to content

This script will help you create a QR Code of the text of your choice and print it in your terminal and save an image file for future reference

License

Notifications You must be signed in to change notification settings

justkelvin/qrcode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

76 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

QR Code Generator

A free and opensource tool to generate QR Codes

This script will help you create a QR Code of the text of your choice and print it in your terminal. It will also create a high quality image in a directory to help you store the image for later use. The script now supports qr image decoding.

Compactibility

Requires python3 and several pip modules which can be install easily. The script has been tested in both Windows and Linux environments.

Installation

Requires latest version of Python3 installed and several pip modules.

For Debian-based GNU/Linux distributions

sudo apt install git python3 zbar
git clone https://github.com/justkelvin/qrcode.git
cd qrcode
pip3 install -r requirements.txt
./qrgenerator.py

Windows OS

Ensure you have git and python3 installed and can run git --version and python3 -V in a commandline prompt

git clone https://github.com/justkelvin/qrcode.git
cd qrcode
pip3 install -r requirements.txt
python3 qrgenerator.py

Usage

The script can be run with the following options.

#Running the script without any arguments will show this nice banner
#and a prompt to enter the text you want to convert to QR Code
#The text you enter will be the file name of the output imaage file

./qrgenerator

prompt

#This allows you to give the arguments without interactive prompt

./qrgenerator -i <input string> -o <output image file name>

# To decode a qr image file

./qrgenerator -d <image location>

prompt

Contact me

For Queries: Twitter

About

This script will help you create a QR Code of the text of your choice and print it in your terminal and save an image file for future reference

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages