π Transform your fashion discovery experience with AI-powered search that combines e-commerce platforms with real-time social media trends from Pinterest and Instagram!
Fash AI Agent is a revolutionary AI-powered fashion discovery platform that bridges the gap between traditional e-commerce search and social media fashion trends. Our intelligent agent searches across multiple platforms while learning from your preferences to deliver personalized fashion recommendations.
- π Fragmented Search: Fashion lovers waste time searching across multiple platforms
- π€ Generic Results: Traditional search engines don't understand fashion context
- π± Missed Trends: Social media fashion trends are hard to discover and track
- π― No Personalization: Current solutions don't learn from user preferences
A unified AI agent that combines e-commerce search, social media trends, and personalized recommendations in one powerful platform.
|
|
|
|
| Feature | Description | Status |
|---|---|---|
| π Pinterest Integration | Real-time fashion trends and style inspiration | β Complete |
| πΈ Instagram Scraping | Fashion hashtags and influencer content | β Complete |
| π€ Personalized Recommendations | AI learns from user feedback and preferences | β Complete |
| π User Feedback System | Interactive like/save/view tracking | β Complete |
| π Enhanced Web Interface | Beautiful UI with social media integration | β Complete |
| π Trend Analysis | Seasonal trends and brand popularity tracking | β Complete |
# Check Python version (3.8+ required)
python --version
# Ensure you have Git installed
git --version# Clone the repository
git clone https://github.com/Sunzzx/fash-ai-agent.git
cd fash-ai-agent
# Create virtual environment
python -m venv venv
# Activate virtual environment
# Windows:
venv\Scripts\activate
# macOS/Linux:
source venv/bin/activate# Install required packages
pip install -r requirements.txt
# Verify installation
pip list | grep -E "(openai|flask|beautifulsoup4|selenium)"# Copy environment template
cp .env.example .env
# Edit .env file with your API keys
nano .env # or use your preferred editorRequired API Keys:
# OpenAI for AI-powered search
OPENAI_API_KEY=your_openai_api_key_here
# SERP API for enhanced search
SERP_API_KEY=your_serp_api_key_here
# Email configuration (optional)
EMAIL_HOST=smtp.gmail.com
EMAIL_PORT=587
EMAIL_USER=[email protected]
EMAIL_PASSWORD=your_app_passwordπ Web Interface
python web_interface.py
# Access at http://localhost:5000β‘ Command Line Interface
python main.py --helpπ― Interactive Mode
python main.py
# Follow the interactive prompts# Simple clothing search
python main.py --query "blue denim jacket under $100"
# Search with social media trends
python main.py --query "summer dress" --social-media
# Get personalized recommendations
python main.py --query "sneakers" --user-session "user123"# Get current fashion trends
python main.py --trending
# Seasonal trend analysis
python main.py --season summer
# Style inspiration search
python main.py --inspiration "vintage,bohemian,minimalist"# Start interactive mode
python main.py
# Available commands:
π Search: blue summer dress size M
π Search: trending
π Search: inspiration: streetwear minimalist
π Search: help
π Search: quit| Feature | Description |
|---|---|
| π Smart Search | AI-powered natural language search |
| π Trend Dashboard | Real-time social media trends |
| β€οΈ Interactive Feedback | Like, save, and rate items |
| π Personal Analytics | Track your fashion preferences |
| π¨ Style Inspiration | Discover new fashion styles |
fash-ai-agent/
βββ π― main.py # Main CLI entry point
βββ π€ clothing_agent.py # Core AI agent logic
βββ π clothing_item.py # Data models for clothing items
βββ βοΈ settings.py # Configuration management
βββ π§ filter_agent.py # Advanced filtering and ranking
βββ π± web_interface.py # Flask web application
βββ π pinterest_scraper.py # Pinterest content scraper
βββ πΈ instagram_scraper.py # Instagram content scraper
βββ π social_media_manager.py # Social media integration hub
βββ π¬ user_feedback.py # User interaction tracking
βββ π preferences.py # User preference models
βββ π logger.py # Application logging
βββ π templates/ # Web interface templates
β βββ index.html # Main UI template
βββ π docs/ # Documentation
βββ π§ͺ tests/ # Test suite
βββ π¦ requirements.txt # Dependencies
# Run all tests
pytest
# Run with coverage report
pytest --cov=src tests/
# Run specific test categories
pytest tests/test_agents/
pytest tests/test_scrapers/
pytest tests/test_social_media/# Format code with Black
black .
# Lint with flake8
flake8 src/
# Type checking with mypy
mypy src/- Response Time: < 2s for basic searches
- Social Media Integration: < 5s for trend analysis
- Memory Usage: Optimized for low resource consumption
- Rate Limiting: Respectful API usage patterns
- π΄ Fork the repository
- πΏ Create a feature branch:
git checkout -b feature/amazing-feature - π» Code your changes following our style guide
- β
Test your changes:
pytest - π Commit with clear messages:
git commit -m "feat: add amazing feature" - π Push to your fork:
git push origin feature/amazing-feature - π¬ Submit a Pull Request
| Area | Description | Difficulty |
|---|---|---|
| ποΈ New E-commerce Scrapers | Add support for more shopping platforms | π’ Beginner |
| π± Social Media Platforms | Integrate TikTok, Twitter, YouTube | π‘ Intermediate |
| π€ AI Improvements | Enhance recommendation algorithms | π΄ Advanced |
| π UI/UX Enhancements | Improve web interface design | π‘ Intermediate |
| π Analytics Features | Add trend prediction and analytics | π΄ Advanced |
| Document | Description |
|---|---|
| π Contributing Guide | How to contribute to the project |
| π Code of Conduct | Community guidelines and standards |
| π API Documentation | Complete API reference |
| π± Social Media Integration | Detailed feature documentation |
| π Issue Templates | Bug reports and feature requests |
- Local Storage: User data stored locally in SQLite
- No Personal Info: No personal information collected
- Session-Based: Temporary session tracking only
- API Security: Secure handling of API keys
- Rate Limiting: Respectful API usage
- Robots.txt Compliance: Follows web scraping ethics
- Caching: Minimizes redundant requests
- Error Handling: Graceful failure management
| Quarter | Features | Status |
|---|---|---|
| Q2 2024 | π₯ TikTok Integration, π Advanced Analytics | π‘ In Progress |
| Q3 2024 | π± Mobile App, π€ ML Improvements | π Planned |
| Q4 2024 | π Multi-language Support, π³ Price Alerts | π Planned |
| Q1 2025 | π¨ AR Try-on, π€ Voice Search | π Research |
Special thanks to our amazing contributors and the open-source community!
- GirlScript Summer of Code 2025 - Open source program
- OpenAI - AI-powered search capabilities
- Flask - Web framework
- BeautifulSoup - Web scraping
This project is licensed under the MIT License - see the LICENSE file for details.
π Happy Fashion Hunting! ποΈ
- π¬ GitHub Discussions
- π Report Issues
- π§ Contact Maintainers