A Flask-based web application that generates professional product descriptions using OpenAI's GPT-3.5 API. The application allows users to create, manage, and download shipping labels for their products.
- User authentication (register/login)
- AI-powered product description generation
- Marketing title generation
- Product management dashboard
- Shipping label generation and download
- Responsive web interface
- Python 3.7 or higher
- OpenAI API key
- pip (Python package manager)
- Clone the repository:
git clone <your-repository-url>
cd product-description-generator- Create and activate a virtual environment:
python -m venv venv
# On Windows
venv\Scripts\activate
# On macOS/Linux
source venv/bin/activate- Install dependencies:
pip install -r requirements.txt- Create a
.envfile in the project root and add your OpenAI API key:
OPENAI_API_KEY=your-api-key-here
- Start the Flask application:
python app.py-
Open your web browser and navigate to
http://localhost:5000 -
Register a new account or login with existing credentials
-
Use the dashboard to:
- Add new products
- Generate AI-powered descriptions
- Download shipping labels
- Manage your product catalog
product-description-generator/
├── app.py # Main application file
├── requirements.txt # Python dependencies
├── .env # Environment variables
├── .gitignore # Git ignore file
├── static/ # Static files
│ └── shipping_labels/ # Generated shipping labels
└── templates/ # HTML templates
├── base.html
├── dashboard.html
├── index.html
├── login.html
└── register.html
- Flask
- Flask-SQLAlchemy
- Flask-Login
- OpenAI
- python-dotenv
- reportlab
This project is licensed under the MIT License - see the LICENSE file for details.
- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request