Skip to content

Notify

Send notifications from pipeline output

Description

Notify is a Go-based tool from ProjectDiscovery that streams the output of any tool or pipeline to multiple notification platforms like Slack, Discord, Telegram, email, and more.

Installation

BASH
# Using Go
go install -v github.com/projectdiscovery/notify/cmd/notify@latest

Configuration

YAML
# ~/.config/notify/provider-config.yaml
slack:
  - id: "scan-alerts"
    slack_channel: "#recon-alerts"
    slack_token: "xoxb-xxxx"

discord:
  - id: "discord-alerts"
    discord_channel: "recon-channel"
    discord_webhook_url: "https://discord.com/api/webhooks/xxx/xxx"

telegram:
  - id: "telegram-alerts"
    telegram_api_key: "xxxx"
    telegram_chat_id: "xxxx"

Basic Usage

BASH
# Pipe output to Slack
subfinder -d target.com | notify -silent

# Specify provider
echo "XSS found at target.com/search?q=test" | notify -provider slack

# Bulk notification
cat findings.txt | notify

Advanced Usage

BASH
# Notify with ID filter
subfinder -d target.com | notify -id scan-alerts

# Custom message format
echo "Bug found" | notify -data '{"extra": "details"}'

# Rate limiting
nuclei -l urls.txt | notify -rate-limit 10 -bulk

# Bulk mode (batch messages)
cat results.txt | notify -bulk -char-limit 2000

Common Workflows

BASH
# Full recon → notification pipeline
subfinder -d target.com -silent | httpx -silent | nuclei -severity critical,high | notify -bulk

# Subdomain monitoring
subfinder -d target.com -silent | anew subdomains.txt | notify -id telegram-alerts