A simple web-based QR Code Generator built with Flask and qrcode library. This application allows users to generate QR codes from any text or URL and display or download the generated QR code image.
- Generate QR codes instantly.
- Customizable input for text or URLs.
- Easy-to-use web interface.
- Lightweight and fast.
Follow these steps to install and run the QR Code Generator:
git clone https://github.com/alanjoshy/QRGenrator
cd qr-code-generatorpython -m venv venv
source venv/bin/activate # For macOS/Linux
venv\Scripts\activate # For WindowsRun the following command to install the required Python packages:
pip install -r requirements.txt| Package | Version |
|---|---|
blinker |
1.9.0 |
click |
8.1.7 |
colorama |
0.4.6 |
Flask |
3.1.0 |
itsdangerous |
2.2.0 |
Jinja2 |
3.1.4 |
MarkupSafe |
3.0.2 |
pillow |
11.0.0 |
pip |
24.0 |
qrcode |
8.0 |
Werkzeug |
3.1.3 |
Run the Flask application:
python app.pyOpen your browser and go to:
http://127.0.0.1:5000
- Enter the text or URL you want to encode.
- Click "Generate" to view the QR Code.
- Download the generated QR Code image.
Include images of the web interface and generated QR codes (optional).
- Backend: Flask
- QR Code Generation:
qrcodePython library - Image Handling: Pillow
Contributions are welcome! Feel free to submit a pull request or report issues in the repository.
This project is licensed under the MIT License.
Let me know if you'd like help setting up the requirements.txt file or improving the README further!