Stop overpaying. Self-host this Open-source tool that track Amazon prices automa...
GitHub RepoImpressions198

Stop overpaying. Self-host this Open-source tool that track Amazon prices automa...

@githubprojectsPost Author

Project Description

View on GitHub

Stop Overpaying on Amazon: Self-Host This Open Source Price Tracker

We've all been there. You add something to your Amazon cart, wait for a sale that never comes, and end up paying full price. Or worse, you buy something only to see its price drop a week later. Manually checking prices is a chore, and while there are paid services out there, why pay a subscription when you can run your own?

Enter this neat open-source project: a self-hosted Amazon price tracker. It’s a straightforward tool that automates the boring work of price monitoring, giving you back control (and potentially saving you a decent chunk of change).

What It Does

In simple terms, this is a Python-based tool that automatically scrapes Amazon product pages at intervals you set. It tracks the price of any item you give it, and if the price drops below a target you define, it sends you an email notification. It logs all the price history locally, so you can see the price trends over time for your tracked items.

It’s designed to run quietly in the background on a machine you control—like a home server, a Raspberry Pi, or even an old laptop.

Why It's Cool

The beauty of this project is in its simplicity and self-sufficiency. It’s not a bloated app; it’s a focused script that does one job well. You’re not handing your product wishlist to a third-party company, and you’re not paying monthly fees. The data stays with you.

Technically, it’s a great example of practical Python automation. It uses requests and BeautifulSoup for scraping, smtplib for email alerts, and sqlite3 for local data storage—common libraries that many devs already know. The code is clean and readable, making it easy to tweak if you want to, say, change how often it checks or add a different notification method (like a Telegram bot).

How to Try It

Getting this running on your own machine is pretty straightforward. You'll need Python 3 and pip installed.

  1. Clone the repo:

    git clone https://github.com/aakashv8900/amazon_price_tracker
    cd amazon_price_tracker
    
  2. Install the dependencies:

    pip install -r requirements.txt
    
  3. Set up your configuration. Rename config.json.example to config.json and fill in your details:

    • Your Gmail address and an App Password (for sending alerts).
    • The recipient email address.
    • Your desired time interval between checks (in seconds).
  4. Add products to track. In products.json, add the Amazon product URLs and your desired target prices.

  5. Run the tracker:

    python main.py
    

And that's it. The script will start its monitoring loop. For a true "set it and forget it" setup, you’d want to run it as a service on a always-on machine.

Final Thoughts

This project is a perfect weekend hack. It solves a real-world problem with a minimal, understandable codebase. As a developer, it’s a satisfying tool to deploy because the payoff is direct—you save money. It’s also a fantastic starting point if you want to experiment with web scraping, automation, or notification systems. You could easily fork it and adapt it for other e-commerce sites or add more advanced features.

In a world of SaaS subscriptions, running a small, useful script like this feels refreshingly empowering. Give it a spin, and maybe your next big purchase will be a little less painful on the wallet.


Found this project interesting? Follow us for more like it.
@githubprojects

Back to Projects
Project ID: f1ee2f44-ea7c-4cdf-a58a-9386d7479c24Last updated: January 7, 2026 at 11:02 AM