Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/rhettbull/qrlogo
- Owner: RhetTbull
- License: mit
- Created: 2024-02-23T06:15:13.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-02-23T15:01:11.000Z (11 months ago)
- Last Synced: 2024-11-14T14:45:54.633Z (2 months ago)
- Topics: cli, command-line, python, qrcode, qrcode-generator
- Language: Python
- Homepage:
- Size: 19.5 KB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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)