-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
phase-4Phase 4: AdvancedPhase 4: Advanced
Description
Notification System
Telegram
Use existing Telegram bot or create dedicated bot.
// src/lib/notify.ts
interface NotifyConfig {
telegram?: {
botToken: string;
chatId: string;
};
desktop?: boolean;
}
async function sendNotification(message: string, config: NotifyConfig)Desktop (macOS)
Using node-notifier or native osascript:
osascript -e 'display notification "New listing found!" with title "whcli"'Configuration
whcli config set notifications.telegram.chatId 12345
whcli config set notifications.telegram.botToken abc123Metadata
Metadata
Assignees
Labels
phase-4Phase 4: AdvancedPhase 4: Advanced