QRCody is a Flask-based web application that allows users to generate QR codes for custom text or URLs. It provides an intuitive and user-friendly interface for both anonymous and authenticated users. The app offers the following key features:
-
QR Code Generation: Users can generate QR codes with custom text or URLs.
-
Daily Limit for Anonymous Users: Anonymous users can generate up to 5 QR codes per day.
-
User Authentication: Users can sign up and log in to the web app.
-
Unlimited QR Codes for Authenticated Users: Authenticated users have the privilege to generate an unlimited number of QR codes.
-
QR Code Download: Users can download the generated QR codes as image files.
To run the QRCody web app locally, follow these steps:
- Clone the repository to your local machine.
- Create a virtual environment (optional but recommended).
- Install the required dependencies using
pip install -r requirements.txt
. - Set up the database and tables required for user authentication and data storage.
- Set the
secret_key
for session management inapp.py
. - Run the Flask app with
python app.py
. - Access the web app in your browser at
http://localhost:5000
.
The QRCody web app relies on the following major dependencies:
- Flask: A micro web framework for Python.
- Pillow: Python Imaging Library for image processing.
- qrcode: A library to generate QR codes.
Please refer to the requirements.txt
file for a complete list of dependencies.
Enjoy using QRCody and have fun generating QR codes with ease!