A web-based tool built with panel
and qrcode
library that allows users to generate customized QR codes from URLs, with options to set error correction, size, colors, and download the generated image.
Try the interactive web app — create, customize, and download QR codes instantly, all in your browser.
🔸 Generate QR codes from any URL input.
🔸 Select error correction level (L, M, Q, H).
🔸 Choose foreground and background colors.
🔸 Preview QR code instantly.
🔸 Download QR code as PNG image.
🔸 Responsive web interface built with Panel.
🔸 Comprehensive documentation including examples for working in Jupyter Notebooks.
This script utilizes the following Python packages:
🔸
qrcode
: Used to generate QR codes from user-provided URLs with customizable options.🔸
panel
: Provides the interactive web interface for user input, QR code preview, and download functionality.
Please ensure these packages are installed in your environment to enable full functionality of the code.
qr-code-generator/
|
├── app.py # WebApp
├── requirements.txt # Install requirements
├── assets/ # Logos
├── docs/ # Documentation
|
├── Dockerfile # Docker files
├── docker-compose.yml
├── docker-compose.debug.yml
|
├── scripts/ # Version history, learning scripts
├── output/ # Output folder for static QR code generation
|
└── README.md
# Clone the repository
git clone https://github.com/kuranez/qr-code-generator.git
cd qr-code-generator
# Install dependencies
pip install -r requirements.txt
# Start the app
panel serve app.py --port 5010
🢅 Visit http://localhost:5010 in your browser.
# Build the Docker image
docker build -t qr-code-generator .
# Run the container
docker run -p 5010:5010 qr-code-generator
🢅 Open http://localhost:5010 to use the app.
Visit the Project Documentation Page for more info.
- Holoviz Panel - A powerful Python framework for creating interactive web apps and dashboards, including the UI for this app.
qrcode
library on PyPI - A pure Python library to generate QR codes. Used to create and customize QR images from any input.- Jupyter - An interactive environment for running Python code in notebooks, ideal for experimentation, documentation, and prototyping scripts.
- Docker Documentation - Official guides for containerizing, deploying, and running this app consistently across different environments.
This project is open source and available under the MIT License. You may modify, distribute, and use it freely in your own projects.