Skip to content

purvanshjoshi/Price-Tracker

Price Scout Logo

πŸš€ Price Scout

The Intelligent Real-Time Price Discovery Engine

Stop chasing deals. Let them come to you with a multithreaded Core Java backend and a premium Chrome Extension experience.

Java 17 Chrome Extension SQLite Jsoup


🌟 The Vision

In an era of dynamic pricing and "Big Billion" sales, manual price checking is a waste of time. Price Scout is a performance-first tool designed by The Avengers to deliver real-time product data directly from the source. No more old, cached pricesβ€”just the absolute latest truth from Amazon and Flipkart, delivered in milliseconds.

🎯 Why Price Scout?

Traditional trackers often show prices that are hours or even days old. Price Scout is different:

  • Zero Latency: We don't use a "middleman" API. The scraping happens locally on your machine.
  • Privacy First: Your search data stays in your local SQLite database, not on our servers.
  • Pure Performance: Multi-threaded execution means we check multiple stores at the exact same time.

⚑ Key Highlights

  • πŸ’¨ Concurrent Engine: Powered by Java ExecutorService, our engine spawns multiple workers to race for the best price.
  • πŸ” 4-Byte Native Protocol: Uses the high-speed Chrome Native Messaging bridge to communicate between Java and JS.
  • πŸ“¦ Zero-Configuration SQL: Leverages SQLite for a portable, file-based history that requires no server setup.
  • 🎭 Intelligent Selectors: Advanced Jsoup implementation that adapts to e-commerce site structures.
  • πŸ“Š Trend Awareness: Logs every lookup with precision timestamps to help you identify price drops over time.

πŸ—οΈ System Architecture

graph TD
    A[Browser Popup UI] <-->|Native Messaging Bridge| B(Java Host Launcher)
    B <-->|System.in / Out| C{Price Scout Engine}
    
    C -->|Dispatch| D[Thread Pool: 3 Workers]
    
    D -->|Worker 1| E[Amazon Scraper: Jsoup]
    D -->|Worker 2| F[Flipkart Scraper: Jsoup]
    D -->|Worker 3| G[Future Scrapers...]
    
    E & F & G -->|Results| H[Cheapest Price Selector]
    H -->|Save Trend| I[(SQLite DB: price_history)]
    H -->|Return JSON| B
Loading


πŸ› οΈ The Core Technology Stack

Layer Tools & Technologies
Backend Core
Parsing Engine (HTML DOM / CSS Selectors)
Concurrency java.util.concurrent (ExecutorService, Async Future)
Database (Zero-Configuration Persistent Storage)
Messaging Chrome Native Messaging (4-Byte Byte-Stream Protocol)
Frontend UI

πŸš€ Deployment & Installation

Running Price Scout requires a quick one-time handshake between your browser and your machine.

πŸ“‹ Prerequisites

  • JDK 17+ & Maven installed.
  • Google Chrome browser.

πŸ› οΈ Setup in 3 Quick Steps

For a complete walkthrough, see the Detailed Setup Guide.

  1. Build the Engine: Run mvn clean package inside the backend folder.
  2. Register Host: Link your registry via the host-config/ scripts.
  3. Install Extension: Load the extension/ folder in Chrome Developer Mode.

πŸ¦Έβ€β™‚οΈ The Avengers (Engineered by)

Hero Role Focus GitHub
πŸ›‘οΈ Purvansh Joshi Architect UI/UX & Native Messaging @PurvanshJoshi
⚑ Parth Nailwal Backend Lead Multithreading & Logic @parthnailwal
🏹 Vansh Singh Data Lead Scrapers & SQLite @vanshsingh


πŸ›‘οΈ Quality Assurance

To maintain high standards, every Pull Request is automatically vetted by our "Avengers Guard" suite:

  • Build & Test: Maven-based compilation checks.
  • Style Guard: Automated Checkstyle verification.
  • Security: Automated vulnerability scanning for all dependencies.
  • Hygiene: Semantic PR title linting.

"The power of Java, the reach of the Browser."

Status

About

πŸ›’ Price Scout: A high-performance real-time price comparison engine for Amazon & Flipkart. Built with a Chrome Extension frontend and a multithreaded Core Java backend for lightning-fast scraping & price history tracking.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors