Skip to content

Repository files navigation

Retail Reselling Bot

A retail bot that monitors global marketplaces and identifies profitable reselling opportunities, with WhatsApp integration for user communication.

Features

  • Marketplace Monitoring: Scrapes and monitors multiple global marketplaces (eBay, Amazon, Facebook Marketplace)
  • Opportunity Detection: Automatically identifies items with profitable reselling margins
  • WhatsApp Integration: Communicates with users via WhatsApp to share opportunities
  • Data Persistence: Stores all data in nomi_2025.json

Setup

  1. Install dependencies:
pip install -r requirements.txt
  1. Configure nomi_2025.json:

    • Add marketplace URLs and settings
    • Configure WhatsApp API credentials (if using WhatsApp integration)
    • Set profit margin thresholds
  2. Run the web interface:

python app.py

Then open your browser to: http://localhost:4400

Or run the bot in CLI mode:

python main.py

Architecture

  • data_manager.py: Handles JSON data persistence
  • marketplace_scraper.py: Scrapes and monitors marketplaces
  • reselling_engine.py: Identifies profitable opportunities
  • whatsapp_bot.py: Handles WhatsApp communication
  • main.py: Main application entry point (CLI mode)
  • app.py: Flask web application (web interface)
  • templates/: HTML templates
  • static/: CSS and JavaScript files

WhatsApp Commands

  • hi / hello - Greeting
  • show opportunities - View top reselling opportunities
  • search [keyword] - Search for items
  • help - Show available commands

Notes

  • Marketplace scraping requires proper authentication and API access
  • WhatsApp integration requires WhatsApp Business API or similar service
  • Respect marketplace terms of service and rate limits
  • Consider using official APIs instead of web scraping where available

About

AI Agents Tutorial: Deal Hunting System with 3-agent pipeline (Hunter → Evaluator → Marketplace)

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages