mrc-monitor
بواسطة wysh3
DevOps & Cloudموجز
Real-time token monitoring for MRC canteen order system.
الوصف
ما الذي تفعله هذه المهارة
Monitors Firebase Firestore for MRC canteen order token status and sends notifications when orders are ready for pickup. Handles multiple tokens simultaneously, polls every 15 seconds, and exits automatically once all tokens are notified.
Eliminates manual status checking by polling Firestore in the background and pushing notifications directly to Telegram or Discord when each order is ready.
متى تستخدمها
- Tracking multiple canteen order tokens at once
- Getting notified when a food order is ready for pickup
- Monitoring orders without waiting at the counter
- Running order checks in the background while doing other work
- Watching several tokens from a single command
مثال على سير العمل
User asks: mrc 73 97 42
- 1
Extract token numbers 73, 97, and 42 from the message
- 2
Start monitor.py as a background process with the platform and channel ID
- 3
Confirm to the user that monitoring has started
- 4
Poll Firebase Firestore every 15 seconds for each token's status
- 5
Send a notification and remove each token from the watch list when its status becomes 'Ready'
User receives individual notifications per token as orders become ready; monitor exits after all tokens are notified
التثبيت
clawhub install wysh3/mrc-monitorشغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.