Skip to content

Notifications (Telegram, Desktop) #23

@pasogott

Description

@pasogott

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 abc123

Metadata

Metadata

Assignees

No one assigned

    Labels

    phase-4Phase 4: Advanced

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions