Track product prices from Trendyol and Amazon. Get Telegram notifications when prices drop.
- 🛍️ Track products from Trendyol and Amazon
- 📉 Get Telegram notifications when prices drop
- 🎯 Set target prices and get alerted
- 📈 View price history charts
- 👤 Personal tracking per user
- 💾 Persistent storage with Supabase
- Open Telegram
- Search
@price_tracker_metehan_bot - Press Start and send
/myid - Copy your Chat ID
- Paste it into the app
- Add products and start tracking!
- Python
- Playwright (web scraping)
- Streamlit (UI)
- Plotly (charts)
- Telegram Bot API
- Supabase (database)
- Python 3.10+
- Supabase account (free tier works)
- Telegram Bot Token (from @BotFather)
- OpenAI API key (not required for this project)
1. Install dependencies:
pip install -r requirements.txt
playwright install chromium2. Create .env file:
TELEGRAM_TOKEN=your_telegram_bot_token
SUPABASE_URL=your_supabase_project_url
SUPABASE_KEY=your_supabase_secret_key
3. Create Supabase tables:
products table:
- id (int8, primary key)
- chat_id (text)
- url (text)
- name (text)
- target_price (float8)
- last_price (float8)
- image (text)
price_history table:
- id (int8, primary key)
- chat_id (text)
- url (text)
- price (float8)
- date (text)
4. Run the web app:
streamlit run app.py5. Run the Telegram bot (to get Chat IDs):
python3 bot.py6. Run automatic price checker (optional, keep terminal open):
python3 main.py
⚠️ main.py checks prices every 30 minutes and sends Telegram notifications. Keep it running for automatic alerts.
- Automatic price notifications only work while
main.pyis running - For 24/7 notifications, deploy
main.pyto a server (Railway, Render, etc.) - Supported sites: Trendyol, Amazon.com.tr