Skip to content

Class to Generate a QR code in the command line from a given URL. Medium strength (15%) error correction. Works fairly well up to a version 3 QR Code, which allows for 42 input bytes.

Angraybill/QRCode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

QRCode

Class to Generate a QR code in the command line from a given URL. Medium strength (15%) error correction. Works fairly well up to a version 3 QR Code, which allows for 42 input bytes. Anything more than 42 input bytes will throw an error when it tries to calculate the error correction polynomial.

To use, download all files into a folder and cd into that folder

javac Generator.java

Your command line will create Generator.class and UglyStuff.class files

java Generator

You will be prompted with

Enter your URL: 

Once you enter your URL, a QR Code will be printed in the command line that you can take a screenshot of.

About

Class to Generate a QR code in the command line from a given URL. Medium strength (15%) error correction. Works fairly well up to a version 3 QR Code, which allows for 42 input bytes.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages