AI-Powered Price Tracker Development

sanjay

sanjay kumar

๐Ÿ›’ AI-Powered Price Tracker

A full-stack AI-enhanced product tracker that scrapes real-time listings, summarizes them using LLMs (via Groq), and displays results through a clean React frontend.
Built by a solo developer. Powered by real engineering, DevOps, and AI integrations.

Video Demo

Product.Summariser.mp4

๐Ÿš€ Features

๐Ÿ”Ž Real-Time Scraping: Collects product listings from e-commerce sites and custom Bing search using Puppeteer.
๐Ÿค– AI Summarization: Uses Groq-hosted LLMs (LLaMA 4 Scout, Mixtral, etc.) to summarize the best results per user query.
๐ŸŒ Full Stack System:
React + Vite frontend
Flask backend
MongoDB for storing queries
LangChain for model abstraction
๐Ÿณ Containerized: Fully Dockerized system via docker-compose.

๐Ÿง  Tech Stack

Layer Technology Frontend React, Vite, Axios Backend Flask, LangChain, Python 3.12 AI Models Groq API (LLaMA, Mixtral) Scraping Bing Search API, Puppeteer (Node.js) Database MongoDB DevOps Docker, Docker Compose

๐Ÿงฐ Setup Instructions

1. Clone the Repo

git clone https://github.com/05sanjaykumar/Price-Tracker
cd price-tracker-ai

2. Create .env.local you have given an .env.example, you just just replace that in the root folder

In the ./ or root folder:
MONGO_URI=mongodb://localhost:27017/mydbname
JWT_SECRET=supersecretkey
GROQ_API_KEY=your_groq_api_key
GROQ_API_BASE=https://api.groq.com/openai/v1
MODEL_NAME=meta-llama/llama-4-scout-17b-16e-instruct

3. Run with Docker

docker-compose up --build
This spins up:
MongoDB
Backend (Flask)
AI summariser service
Frontend (React)

๐Ÿงช How to Use

Visit the frontend:
http://localhost:5173
Youโ€™ll find a simple UI where you can enter a natural language query like:
๐Ÿ’ฌ "Best gaming laptops under โ‚น1 lakh"
The system will:
Scrape the latest product listings
Summarize the best options using LLMs (Groq or local)
Return a clear, ranked summary to the user interface

๐Ÿงช Sample Prompt Use Cases

"Best phones under โ‚น30k"
"Top smart TVs under โ‚น50,000"
"Most affordable noise-canceling headphones"

๐Ÿ’ก Learnings & Highlights

Full-stack Docker orchestration
LangChain LLM orchestration (prompt โ†’ AI โ†’ result)
Using AI API key: cloud-hosted Groq API
Custom scraping with Bing + Puppeteer
Real-time summarization with semantic filtering
Truly scalable backend architecture

๐Ÿ‘จโ€๐Ÿ’ป Built By

Sanjay Kumar ๐Ÿ’ก Self-taught developer | Polyglot Dev | Indie Hacker ๐Ÿ› ๏ธ Built from scratch at 20 to show my real-world projects skills ๐ŸŒ GitHub โ€ข X (https://x.com/sanjaykuma49595)

๐Ÿง  Future Improvements

โœ… Frontend AI summary display (done)
โณ Add filtering/sorting by price/category
๐Ÿ’พ Optional user login & saved queries
๐Ÿ“ฑ Mobile responsive layout
โš™๏ธ Cloud deployment (e.g., Vercel + Render/Fly.io)

๐Ÿ“ธ Demo Preview

๐Ÿ“„ License

MIT
Like this project

Posted Sep 25, 2025

Developed an AI-powered product tracker with real-time scraping and summarization.