This Python project enables users to generate QR codes with optional icons in three flexible modes:
- Web Application: Browser-based QR code generator powered by Flask.
- Desktop Application: Interactive GUI built with Tkinter for single and batch QR code creation.
- Command-Line Interface (CLI): Perfect for advanced users and automation.
- Single QR Code Generation:
- Generate QR codes for individual URLs with optional embedded icons.
- Bulk QR Code Generation:
- Process CSV files to create multiple QR codes at once, each with optional icons.
- High-Resolution Output:
- Generate QR codes up to 3000x3000 pixels.
- Cross-Platform Support:
- Available as a desktop app, CLI tool, or web application.
- Python: Version 3.7 or higher.
- Libraries:
Install dependencies using:
pip install -r requirements.txt
- Start the Flask app:
python app.py - Open your browser and navigate to:
http://127.0.0.1:5000 - Features:
- Single QR Code: Enter a URL, optional icon, and file name to generate a QR code.
- Bulk QR Code: Upload a CSV file with URL, icon path, and file name columns.
- Run the GUI:
python gui.py - Features:
- Single QR Code: Enter URL and file name, optionally choose an icon.
- Bulk QR Codes: Upload a CSV file to generate multiple QR codes.
-
Single QR Code:
python main.py single --url "https://example.com" --file_name "example" --icon "icon.png"--url: The URL for the QR code.--file_name: Output file name.--icon: Optional path to an icon image.
-
Bulk QR Codes:
python main.py bulk --csv_file "qrcodes.csv"
url,icon,file name
https://example.com,icon1.png,example_qr
https://another.com,icon2.png,another_qr
.
├── app.py # Web application logic
├── gui.py # Desktop GUI application
├── main.py # Core logic and CLI
├── templates/ # HTML templates for the web app
│ ├── index.html # Home page for the web app
│ ├── success.html # Success page with download links
├── uploads/ # Temporary upload storage
├── output/ # Generated QR codes and ZIP files
├── README.md # Project documentation
├── CONTRIBUTING.md # Contribution guidelines
├── requirements.txt # Required Python packages
We welcome contributions! Please refer to the CONTRIBUTING.md file for guidelines on how to contribute.
This project is licensed under the MIT License. See the LICENSE file for details.
Thank you for using the QR Code Generator! Feel free to open an issue or contribute to the project.
