Skip to content

Telegram bot including API, which can track product prices & ping you on any changes.

License

Notifications You must be signed in to change notification settings

siddiquiaffan/price-tracker

Repository files navigation

Logo

A Telegram bot that can track price of Amazon & flipkart products (more coming soon)

Star GitHub Follow State


Features

  • Track Amazon Product.
  • Track Flipkart Product.
  • Notify on every price change.
  • Broadcast (Admin).
  • API support.

How to use

To use this bot in your Telegram, click here

/start - Start the bot
/help - get this message
/track {Product Link} - Add product to tracking list
/stop {Tracking ID} - Stop tracking
/list - Get list of products that are being tracked


Deploy

NOTE - We're now using https proxy for sending requests. So add your proxy url in env as PROXY

Deploy with Heroku

Deploy on Railway

Deploy locally:

- Clone Repository
- Install Dependencies (npm install)
- Create .env file and fill it with your details.
- Start App (npm start)

POST-DEPLOYMENT

Setup bot: Get your deployment url and navigate to {YOUR_DEPLOYMENT_URL}/setup

Example: https://price-tracker.herokuapp.com/setup

=> Replace https://price-tracker.herokuapp.com/ with your deployment url.


Contributing

  • Fork this repo fork
  • Add your changes
  • Create a pull request

NOTE

  • Do not clone this repo (You can fork it instead)
  • Use this bot at your own risk
  • This bot can be a little bit slow because of using Cloudflare workers for scraping product data
    (To avoid IP blocking from Amazon & Flipkart)

License

LICENSE