"""Configuration for Nostr Notifier."""

# Target npub to watch
TARGET_NPUB = "npub1m8pw94xduq3rtlx4fq648dtddz5je0hxerm2xc9rdd4zdq28gzqsg8gqln"

# Telegram settings
TELEGRAM_BOT_TOKEN = ""  # Will be set via environment or CLI
TELEGRAM_CHAT_ID = "5657673863"  # Home channel

# Relay pool (standard Nostr relays)
RELAYS = [
    "wss://relay.damus.io",
    "wss://nostr.wine",
    "wss://nos.lol",
    "wss://relay.nostr.band",
    "wss://purist.nostrdata.com",
]

# Event kinds to track
EVENT_KINDS = {
    1: "note",      # Regular posts
    7: "reaction",  # Reactions
    9: "repost",    # Reposts
    30032: "repost",  # Reposts (new format)
}

# Logging
LOG_FILE = "nostr_notifier.log"
VERBOSE = True

# Smart Filters Configuration
SMART_FILTERS = {
    "rate_limit_per_minute": 3,      # Max notifications per minute (reduced from 10)
    "engagement_threshold": 2,        # Only notify if engagement >= 2 (was 0)
    "thread_dedup": True,             # Only notify for first mention in a thread
    "trusted_users": [],              # List of npubs to always notify for
    "blocked_users": [],              # List of npubs to never notify for
}
