Skip to content

๐Ÿš€ AI-powered SaaS platform for dropshipping product research, competitor auditing, and marketing automation. Built with Python (FastAPI), React, and Google Gemini.

License

Notifications You must be signed in to change notification settings

komutan234/DropAnalyze-AI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

4 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿง  DropAnalyze: AI-Powered E-Commerce Intelligence Platform

Status Python React AI License

Transforming Data into Dropshipping Profit with Generative AI & Computer Vision.

View Demo โ€ข System Architecture โ€ข Algorithms โ€ข Installation


โšก Overview

DropAnalyze is a next-generation SaaS platform that automates the entire product research workflow for e-commerce entrepreneurs. Unlike basic scrapers, it uses a Hybrid Intelligence Engine combining:

  1. Headless Browsing (Playwright) for dynamic data extraction.
  2. Computer Vision for product image recognition.
  3. Large Language Models (LLM) for market strategy generation.

๐Ÿ“ธ Demo

Demo.mp4

Real-time analysis of market trends, competitor SEO, and AI-driven marketing strategies.


๐Ÿ— System Architecture

DropAnalyze utilizes a decoupled Client-Server Architecture. The flow of data from the raw URL to the final AI Insight is visualized below:

graph TD
    A[User Input URL] -->|REST API| B(FastAPI Backend)
    B -->|Spawns| C{Scraping Engine}
    C -->|Playwright| D[Headless Browser]
    D -->|Render & Extract| E[DOM & Image Data]
    E --> F{Analysis Core}
    F -->|Regex Heuristics| G[Price Normalizer]
    F -->|SEO Algorithm| H[Audit Scoring System]
    F --> I{AI Pipeline Gemini 2.5}
    I -->|Prompt Engineering| J[Marketing Strategy]
    I -->|Sourcing Logic| K[Supplier Finder]
    J & K & H --> L[JSON Response]
    L -->|State Update| M[React Frontend]
Loading

๐Ÿงฎ Core Algorithms

1. The "Inspector" Audit Algorithm (Weighted Scoring)

The competitor listing quality is evaluated using a proprietary weighted formula based on 4 key metrics:

$$ Score = \sum (w_{title} \cdot S_{seo}) + (w_{img} \cdot S_{res}) + (w_{price} \cdot S_{psych}) + (w_{desc} \cdot S_{density}) $$

Where:

  • Title Optimization: Checks for keyword stuffing vs. optimal length (10-200 chars).
  • Visual Quality: Detects placeholder images vs. high-res product shots.
  • Pricing Psychology: Analyzes price endings (.99, .90) for conversion optimization.
  • Content Density: Measures description verbosity.

2. AI Sourcing Logic

The system does not just search; it infers.

  1. Extraction: Extracts the "core product essence" from a localized retail title (e.g., "Trendyol ลžarj Aleti").
  2. Translation & Standardization: Converts it to global manufacturing terms (e.g., "25W PD USB-C Adapter").
  3. Query Construction: Generates optimized search queries for Alibaba and AliExpress APIs.

โœจ Key Features

Feature Technology Description
๐Ÿ•ต๏ธโ€โ™‚๏ธ Sourcing Agent Gemini AI + Search API Reverse-engineers retail products to find original Chinese factories.
๐Ÿ“Š Smart Audit Python + BeautifulSoup Grades competitor listings out of 100 based on SEO best practices.
๐Ÿค– Marketing Studio Generative AI Writes viral TikTok hooks, cold emails, and Instagram captions instantly.
๐Ÿ“ˆ Trend Radar PyTrends + Recharts Visualizes search volume interest over time and potential risks.
๐ŸŒ Currency Sim React State Real-time profit calculation switching between USD, EUR, and TRY.
๐Ÿ“„ Auto-Reporting JSPDF Generates professional PDF reports for agency clients.

๐Ÿ“‚ Project Structure

DropAnalyze/
โ”œโ”€โ”€ client/                 # React Frontend
โ”‚   โ”œโ”€โ”€ src/
โ”‚   โ”‚   โ”œโ”€โ”€ components/     # Recharts & UI Components
โ”‚   โ”‚   โ”œโ”€โ”€ App.js          # Main Logic & State Management
โ”‚   โ”‚   โ””โ”€โ”€ App.css         # Glassmorphism Styles
โ”œโ”€โ”€ server/                 # Python Backend
โ”‚   โ”œโ”€โ”€ main.py             # FastAPI Routes & AI Logic
โ”‚   โ”œโ”€โ”€ dropanalyze.db      # SQLite Portfolio Database
โ”‚   โ””โ”€โ”€ requirements.txt    # Python Dependencies
โ””โ”€โ”€ README.md               # Documentation

๐Ÿš€ Installation & Setup

Prerequisites

  • Python 3.10+
  • Node.js 16+
  • Google Gemini API Key

1. Clone Repository

git clone https://github.com/komutan234/DropAnalyze-AI/tree/main
cd DropAnalyze

2. Backend Setup

cd server
python -m venv venv

# Windows:
.\venv\Scripts\activate

# Mac/Linux:
source venv/bin/activate

pip install -r requirements.txt
playwright install

3. Frontend Setup

cd client
npm install

4. Running the System

Terminal 1 (Backend):

cd server
python main.py

Terminal 2 (Frontend):

cd client
npm start

๐Ÿค Contributing

Contributions are what make the open-source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

๐Ÿ“ License

Distributed under the MIT License. See LICENSE for more information.


Developed by Turgut Akin
Software Engineer & Full Stack Developer

About

๐Ÿš€ AI-powered SaaS platform for dropshipping product research, competitor auditing, and marketing automation. Built with Python (FastAPI), React, and Google Gemini.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published