Skip to content

I built a QR Code Generator in Python. It takes a link (like YouTube), lets you choose foreground & background colors, and then generates a QR code that you can preview and save as a .png.

Notifications You must be signed in to change notification settings

bvslahari007/cli-qrcode-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

QR Code Generator

I just built a CLI based QR Code Generator in Python and it was fun!!! <3

What it does

  • Takes any link (YouTube, Insta, etc.)
  • Lets you choose your own colors (foreground & background)
  • Generates a QR Code
  • You can preview it before saving
  • Save it as .png

Tech I used

  • Python
  • qrcode library
  • PIL for images

What I learned

While making this, I learned:

  • How to use Python libraries properly
  • Handling user input dynamically
  • Generating and saving images through code
  • Adding customization to make it more interesting

Demo Flow

  1. Run the file
  2. Paste any link
  3. Enter colors
  4. Preview → Save → Done

Future Plans

  • Add QR code styles (square, rounded, circle)
  • Add logo in the center
  • GUI version with Tkinter

About

I built a QR Code Generator in Python. It takes a link (like YouTube), lets you choose foreground & background colors, and then generates a QR code that you can preview and save as a .png.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages