An advanced e-commerce price tracking web application that leverages real-time data to help users identify and capitalize on arbitrage opportunities across multiple online platforms.
- Price Tracking: Monitor product prices across Amazon, eBay, Walmart, and AliExpress
- Arbitrage Finder: Identify profitable buying/selling opportunities between platforms
- Research Bot: Discover trending products and potential arbitrage opportunities
- Data Visualization: Track price history with interactive charts
- Alerts System: Get notified when prices drop below your set thresholds
- Platform Shortcuts: Quick access to login pages of major e-commerce platforms
- Python 3.11 or higher
- PostgreSQL database (or SQLite for development)
- pip package manager
-
Clone the repository
git clone <repository-url> cd e-commerce-price-tracker
-
Run the startup script
run_local.bat
-
Clone the repository
git clone <repository-url> cd e-commerce-price-tracker
-
Make the script executable and run it
chmod +x run_local.sh ./run_local.sh
The application will be available at http://localhost:5000
If you prefer manual installation, follow these steps:
-
Set up a virtual environment (recommended)
python -m venv venv
- On Windows:
venv\Scripts\activate
- On macOS/Linux:
source venv/bin/activate -
Install dependencies
pip install apscheduler beautifulsoup4 email-validator flask flask-login flask-sqlalchemy gunicorn psycopg2-binary requests selenium sqlalchemy trafilatura uuid werkzeug
-
Database Setup
-
For PostgreSQL:
- Create a PostgreSQL database
- Set the
DATABASE_URLenvironment variable:# Windows set DATABASE_URL=postgresql://username:password@localhost:5432/dbname # macOS/Linux export DATABASE_URL=postgresql://username:password@localhost:5432/dbname
-
For SQLite (development):
- No additional setup needed, SQLite will be used by default
-
-
Initialize the application
python local_setup.py
-
Run the application
python main.py
The application will be available at http://localhost:5000
For more detailed installation instructions, see the INSTALLATION.md file.
Configuration is done through environment variables:
DATABASE_URL: Database connection stringSESSION_SECRET: Secret key for session managementSMTP_SERVER: SMTP server for email alerts (optional)SMTP_PORT: SMTP port (optional)SMTP_USERNAME: SMTP username (optional)SMTP_PASSWORD: SMTP password (optional)
-
Adding Products
- Click "Track New Product"
- Enter the product URL from any supported platform
- Set your price threshold (optional)
- Select additional platforms to compare (optional)
-
Research
- Visit the Research tab
- Select product categories to research
- Set minimum profit margin
- Run the research bot
-
Monitoring
- View all tracked products on the Products page
- Check price history and platform comparisons on product detail pages
- Use the Dashboard for a quick overview of all your tracked items
This project is licensed under the MIT License - see the LICENSE file for details.
If you encounter any issues:
- Make sure all dependencies are installed correctly
- Check database connection settings
- Verify that required directories exist (data/ directory and subdirectories)
- For scraping issues, make sure you have a stable internet connection and the platform hasn't changed its page structure