Skip to content

Blackjuiceplug/styled-qr-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

🎨 Styled QR Code Generator

A powerful Python application that creates beautiful, customizable QR codes with logos, signatures, and various styling options. Now with a modern GUI!

Python License Platform

✨ Features

  • 🖥️ Modern GUI Interface: Beautiful, user-friendly interface powered by ttkbootstrap
  • 6 Built-in Styles: Classic, Modern, Vibrant, Ocean, Sunset, and Namibia themes
  • 🖼️ Logo Integration: Easy logo upload with file browser
  • ✍️ Custom Signatures: Add text labels with enhanced visibility
  • ✨ Visual Effects: Rounded corners, shadows, and styled borders
  • 🌈 Gradient Support: Beautiful color gradients for modern looks
  • 👁️ Live Preview: See your QR code before saving
  • 💾 High Quality Output: Optimized PNG files

📸 Screenshots

┌─────────────────────────────────────────┐
│  🎨 Styled QR Code Generator            │
├──────────────────┬──────────────────────┤
│ 📄 QR Code Data  │  👁️ Preview          │
│ ✍️ Signature     │                      │
│ 🖼️ Logo          │  [QR Code Preview]   │
│ 🎭 Style         │                      │
│ ✨ Effects       │                      │
│                  │                      │
│ 🔄 Generate      │                      │
│ 💾 Save          │                      │
└──────────────────┴──────────────────────┘

🚀 Quick Start

Installation

# Clone the repository
git clone https://github.com/Blackjuiceplug/styled-qr-generator.git
cd styled-qr-generator

# Create virtual environment
python -m venv .venv

# Activate virtual environment
# Windows:
.venv\Scripts\activate
# macOS/Linux:
source .venv/bin/activate

# Install dependencies
pip install -r requirements.txt

Usage

GUI Version (Recommended)

python qr_generator_gui.py
  1. Enter your data: Type or paste the URL/text you want to encode
  2. Add signature (optional): Add a label or text overlay
  3. Upload logo (optional): Click "Choose Logo" to add your logo
  4. Select style: Choose from 6 beautiful preset styles
  5. Enable effects: Toggle visual effects on/off
  6. Generate: Click "🔄 Generate QR Code" to create your QR code
  7. Preview: View your QR code in the preview panel
  8. Save: Click "💾 Save QR Code" to save your creation

Command Line Version

python qr_generator.py

Follow the interactive prompts to create your QR code.

🎭 Available Styles

Style Description Features
Classic Traditional black & white Timeless, professional
Modern Contemporary dark theme Sleek, minimal
Vibrant Bold red accent Eye-catching, energetic
Ocean Blue gradient Cool, calming
Sunset Orange gradient Warm, inviting
Namibia Red-orange-blue gradient Patriotic colors

📋 Requirements

  • Python 3.7 or higher
  • qrcode[pil] 7.4.2
  • Pillow 10.3.0
  • ttkbootstrap 1.10.1

See requirements.txt for complete list.

🔧 Configuration

Logo Requirements

  • Supported formats: PNG, JPG, JPEG, GIF, BMP
  • Recommended: PNG with transparent background
  • Optimal size: 200x200px or larger (will be automatically resized)

QR Code Settings

  • Error correction: High (30% damage tolerance)
  • Box size: 12 pixels
  • Border: 6 boxes
  • Output format: PNG

💡 Tips for Best Results

  1. URLs: Always include https:// for web links
  2. Logo: Use high-contrast logos for better scanning
  3. Signature: Keep text short (10-20 characters work best)
  4. Testing: Always test your QR code with a scanner before printing
  5. Printing: Save at full resolution for print quality

🐛 Troubleshooting

GUI doesn't start

# Make sure all dependencies are installed
pip install -r requirements.txt --upgrade

Logo doesn't appear

  • Check file path is correct
  • Ensure file format is supported (PNG, JPG, etc.)
  • Verify file is not corrupted

QR code won't scan

  • Reduce logo size (logo might be too large)
  • Ensure good contrast between QR code and background
  • Test under good lighting conditions

📂 Project Structure

styled-qr-generator/
├── qr_generator_gui.py      # GUI version
├── qr_generator.py           # Command line version
├── requirements.txt          # Python dependencies
├── README.md                 # This file
└── .venv/                    # Virtual environment (created during setup)

🤝 Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/AmazingFeature)
  3. Commit your changes (git commit -m 'Add some AmazingFeature')
  4. Push to the branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

📝 License

This project is licensed under the MIT License - see the LICENSE file for details.

🙏 Acknowledgments

📧 Contact

Project Link: https://github.com/Blackjuiceplug/styled-qr-generator


Made with ❤️ in Namibia 🇳🇦

About

A powerful Python application that creates beautiful, customizable QR codes with logos, signatures, and various styling options.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages