Notificacion de descuentos amazon
2.6K
Telegram bot that monitors Amazon product prices and notifies you when they drop.
Add products via the bot or CLI, and receive instant Telegram messages whenever a discount exceeds your configured threshold.
1. Create your .env file:
TELEGRAM_TOKEN=your_bot_token
TELEGRAM_CHAT_ID=your_chat_id
CHECK_INTERVAL_MINUTES=60
DISCOUNT_THRESHOLD=3
DB_PATH=/app/data/products.db
2. Create docker-compose.yml:
services:
discount-notify:
image: yoniergomez/discount-notify:latest
container_name: discount-notify
restart: unless-stopped
env_file: .env
volumes:
- ./data:/app/data
3. Start:
mkdir -p data
docker compose up -d
| Variable | Default | Description |
|---|---|---|
TELEGRAM_TOKEN | — | Required. Bot token from @BotFather |
TELEGRAM_CHAT_ID | — | Required. Your Telegram chat ID |
CHECK_INTERVAL_MINUTES | 60 | How often prices are checked |
DISCOUNT_THRESHOLD | 3 | Minimum % drop to trigger a notification |
DB_PATH | /app/data/products.db | SQLite database path |
docker run --rm \
-e TELEGRAM_TOKEN=your_token \
yoniergomez/discount-notify:latest \
python main.py setup-telegram
| Command | Description |
|---|---|
/search <keyword> | Search Amazon and add a product |
/add <url> | Add a product by Amazon URL |
/list | List tracked products and current prices |
/remove | Remove a product from tracking |
/pause / /resume | Pause or resume notifications for a product |
/target | Set a target price for a product |
/stats | Price history chart |
/purge | Clear the entire database |
| Architecture | Tag |
|---|---|
linux/amd64 | latest |
linux/arm64 | latest |
The SQLite database is stored at /app/data/products.db. Mount a volume at /app/data to persist data across container restarts.
Content type
Image
Digest
sha256:13fa3e045…
Size
89.3 MB
Last updated
21 days ago
docker pull yoniergomez/discount-notify