Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/rhettbull/qrlogo

Create QR codes for URLs and automatically add the favicon logo to the QR code
https://github.com/rhettbull/qrlogo

cli command-line python qrcode qrcode-generator

Last synced: 11 days ago
JSON representation

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

Awesome Lists containing this project

README

        

# qrlogo

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

## Installation

```bash
git clone [email protected]: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

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

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

![qrlogo](qrlogo.png)

## License

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