8000 GitHub - kuranez/qr-code-generator: A web-based tool that allows users to generate customized QR codes from URLs.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

kuranez/qr-code-generator

Repository files navigation

QR Code Generator

Python python-qrcode Holoviz Panel Jupyter Docker

A web-based tool built with paneland 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.


🌐 WebApp

Live Demo

Try the interactive web app — create, customize, and download QR codes instantly, all in your browser.


Screenshot

webapp.png


⚙️ Features

Core Features

🔸 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.

Additional Features

🔸 Responsive web interface built with Panel.

🔸 Comprehensive documentation including examples for working in Jupyter Notebooks.


📦 Python Packages

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.


📁 File Structure

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

❓ How 2 Use

1. Install & Run Locally

# 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.

2. Run with Docker

# 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.


📙 Documentation

Visit the Project Documentation Page for more info.

📕 Resources

  • 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.

📘 License

This project is open source and available under the MIT License. You may modify, distribute, and use it freely in your own projects.


About

A web-based tool that allows users to generate customized QR codes from URLs.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 
0