Skip to content

Create QR codes for URLs and automatically add the favicon logo to the QR code

License

Notifications You must be signed in to change notification settings

RhetTbull/qrlogo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

qrlogo

Simply python script to create QR codes for URLs and automatically add the favicon logo to the center of the QR code.

Installation

git clone git@github.com:RhetTbull/qrlogo.git
cd qrlogo
pip install -r requirements.txt

Usage

Usage: qrlogo.py [OPTIONS]

  Create QR codes with logos.

  If no logo is provided, try to fetch the favicon from the provided URL.

  Logo may also be added to the QR code using the --logo option.

  Use --no-logo to create a regular QR code without a logo.

Options:
  -u, --url TEXT     URL to encode into the QR code  [required]
  -l, --logo PATH    Path to the logo file
  -n, --no-logo      No logo on QR code
  -o, --output TEXT  Output filename  [required]
  --help             Show this message and exit.

Example

python3 qrlogo.py --url https://github.com/RhetTbull/qrlogo --output qrlogo.png

Produces a QR code with the GitHub favicon in the center:

qrlogo

License

Copyright (c) 2024 Rhet Turnbull Licensed under the MIT License

About

Create QR codes for URLs and automatically add the favicon logo to the QR code

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages