alert-system
ishsharm0 tarafından
DevOps & CloudÖzet
Smart monitoring with customizable triggers — price alerts (stocks, crypto, products), event monitoring, custom.
Açıklama
Bu Beceri Ne Yapar
Monitors prices, websites, and custom conditions, then sends Telegram notifications when triggers fire. Supports stocks via yfinance, crypto prices, and arbitrary event changes. Runs checks via cron for continuous background monitoring.
Combines price data, web monitoring, and notifications in one system instead of stitching together separate tools for each.
Ne Zaman Kullanılır
- Get notified when BTC crosses a target price
- Track a product page for restocks or price drops
- Alert when a stock hits a buy or sell threshold
- Monitor a website for content changes
- Schedule recurring checks without manual intervention
Örnek İş Akışı
User asks: notify me when BTC goes above $100,000
- 1
Instantiate AlertSystem with the username
- 2
Call add_alert with type 'price', asset 'BTC', condition 'above', and threshold 100000
- 3
Run check_all to evaluate current price against the threshold
- 4
Send a Telegram notification if the condition is met
Telegram message: 'BTC alert triggered: price is above $100,000'
Gereksinimler
- Telegram bot token and chat ID for notifications
Kurulum
clawhub install ishsharm0/alert-systemCLI komutunu çalıştırın ya da istemi Claude Code, Cursor, Codex veya kullandığınız kodlama ajanına yapıştırın.