Convert any URL into a beautiful, scannable QR code using Python.
- Easy-to-use terminal interface
- Generates clean PNG QR code from any valid URL
- Useful for sharing links, profiles, contact info, and more
Ensure you have Python 3.7+ installed. Then, install the required package:
pip install qrcode[pil]
Or use the requirements.txt:
pip install -r requirements.txt
- Clone this repository:
- Run the script:
- Enter any valid URL when prompted.
git clone https://github.com/codelabwithosman/QrCodeGen
cd QrCodeGenpython qr_generator.py=== QR Code Generator by @codelabwithosman ===
Enter URL (or 'quit' to exit): https://example.com
QR code saved as qr_code.png! Scan it to visit the URL.
This project is licensed under the MIT License. Feel free to use and modify it.