alert-system
بواسطة ishsharm0
DevOps & Cloudموجز
Smart monitoring with customizable triggers — price alerts (stocks, crypto, products), event monitoring, custom.
الوصف
ما الذي تفعله هذه المهارة
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.
متى تستخدمها
- 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
مثال على سير العمل
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'
المتطلبات
- Telegram bot token and chat ID for notifications
التثبيت
clawhub install ishsharm0/alert-systemشغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.