Generate QR codes instantly with my modern Web app or Python script.
Choose your preferred method: browser-based convenience or command-line simplicity.
Try it live: https://dimuzzo.github.io/qr-code-generator
- Modern, responsive design with lime green accents
- Works on desktop, tablet, and mobile
- Instant QR code generation
- Direct download as PNG
- 100% client-side - your data never leaves your browser
- URL validation
- Visit the web app
- Enter your URL
- Click "Generate QR Code"
- Download your QR code
For those who prefer command-line tools or need to integrate QR generation into automated workflows.
Ensure you have Python installed. You will need to install the qrcode library with image support (pillow).
Run the following command in your terminal:
pip install "qrcode[pil]"- Execute the script:
python generator.py
- Enter the URL: When prompted, paste the URL you want to convert (e.g., a YouTube link or website).
- Check the output: The script will generate an image file named
qr-code.pngin the project directory.
qr-code-generator/
├── index.html # Main HTML structure
├── style.css # Styles and animations
├── script.js # Logic and DOM manipulation
├── generator.py # Python CLI script
├── qr-code.png # Generated QR code (created at runtime)
├── README.md # This file
└── assets/
└── favicon.png # Web app's Icon
Web App:
- HTML, CSS, and JavaScript (Modular structure)
- QRCode.js library
- Hosted on GitHub Pages
Python Script:
- Python 3.x
- qrcode library
- Pillow (PIL)
This project is open source and available for personal and commercial use.
Contributions, issues, and feature requests are welcome! Feel free to check the issues page.
Created with passion by dimuzzo
