This is one of the projects I created to enhance my knowledge of the Python programming language. This project involves creating a responsive web application for mobile devices. The web application serves as a tool for generating QR codes automatically using Python's built-in libraries. I developed this web application using the Python programming language with the Flask framework to enable the presentation of Python projects in a web interface.
Interesting features of QR Code Generator:
-
Generate QR Code from Provided URL: The application allows users to easily generate QR Codes by entering a desired URL. The generated QR Code can then be used for quick and convenient sharing or access to the link.
-
Download the Generated QR Code: Once a QR Code is created, users can download it as an image file. This feature ensures the QR Code can be saved locally and used for various purposes, such as embedding in documents or sharing offline.
Following are the steps to run a Flask application:
Make sure you have Python installed on your system before starting.
1. Clone the project repository to your local directory:
git clone https://github.com/ramadhanabelio/qrcode-generator.git
2. Navigate to the project directory:
cd qrcode-generator
3. Install dependencies using pip:
pip install -r requirements.txt
4. Run the Flask application:
python app.py
After following the steps above, the application will run on your local server. You can access it via a web browser using the address provided by Flask (usually http://localhost:5000).
- Open the application in a web browser using the address provided by Flask.
- Enter the URL you want to convert into a QR Code on the home page.
- Click the "Generate" button to create the QR Code.
- Once the QR Code is successfully created, it will be automatically downloaded to your device.
By following the steps above, users can easily generate a QR Code from the desired URL and have it downloaded as a PNG image without the need for additional download steps.