मजकुराकडे जा

SABnzbd

तुमच्या Lock Screen वर डाउनलोड प्रगती ट्रॅक करा. फाइल नावे, वेग, ETA आणि पोस्ट-प्रोसेसिंग टप्पे रिअल-टाइममध्ये पाहा.

Live Activity प्रात्यक्षिक

How It Works

The pushward-sabnzbd bridge container runs an HTTP server that receives webhooks from SABnzbd and tracks download and post-processing progress.

  1. Webhook -- SABnzbd notifies the bridge when a download is added
  2. Download tracking -- polls SABnzbd every 5s (configurable), showing progress, speed (MB/s), ETA, and file name
  3. Post-processing -- tracks Verifying, Repairing, Extracting, and Moving phases
  4. Queue continuation -- if more downloads appear, continues tracking
  5. Summary -- shows total size, duration, and average speed before cleanup

Setup

1. Get Your Integration Key

तुमची डीफॉल्ट hlk_ की शोधण्यासाठी PushWard अॅप उघडा → Settings → Integration Key.

या इंटिग्रेशनसाठी एक समर्पित की तयार करण्यासाठी:

  1. Settings → Manage Keys वर जा
  2. + टॅप करा
  3. नाव सेट करा (उदा. "SABnzbd"), निवडा , स्कोप, आणि ऐच्छिकरित्या यापुरते मर्यादित कराsabnzbd
  4. तयार झालेली hlk_ की कॉपी करा

2. Deploy the Bridge

docker-compose.yml
services:
  pushward-sabnzbd:
    image: ghcr.io/mac-lucky/pushward-sabnzbd:latest
    ports:
      - "8090:8090"
    environment:
      PUSHWARD_URL: https://api.pushward.app
      PUSHWARD_API_KEY: hlk_YOUR_INTEGRATION_KEY
      PUSHWARD_SABNZBD_URL: http://sabnzbd:8080
      PUSHWARD_SABNZBD_API_KEY: your-sabnzbd-api-key
    restart: unless-stopped

3. Configure SABnzbd Notification Script

In SABnzbd, configure a notification script that sends a POST request to the bridge webhook:

  1. Go to Config > Notifications
  2. Under Notification Script, add a script that calls the webhook
  3. Enable notifications for NZB added

Alternatively, use a curl-based script:

notify.sh
#!/bin/bash
curl -X POST http://pushward-sabnzbd:8090/webhook \
  -H "X-Webhook-Secret: your-secret"

The secret is defined on the bridge container (the PUSHWARD_SABNZBD_WEBHOOK_SECRET env var above) and sent by this script; SABnzbd itself has no field for it.

Configuration

Environment Variableवर्णनडीफॉल्ट
PUSHWARD_URLPushWard server URL--
PUSHWARD_API_KEYIntegration key (hlk_ prefix)--
PUSHWARD_SABNZBD_URLSABnzbd API URL--
PUSHWARD_SABNZBD_API_KEYSABnzbd API key--
PUSHWARD_SABNZBD_WEBHOOK_SECRETOptional shared secret. When set, POST /webhook requires a matching X-Webhook-Secret header.--
PUSHWARD_SERVER_ADDRESSHTTP listen address:8090
PUSHWARD_PRIORITYActivity priority (0-10)1
PUSHWARD_POLL_INTERVALPoll interval during tracking (min 1s)5s
PUSHWARD_CLEANUP_DELAYDelay before cleanup after completed15m
PUSHWARD_STALE_TIMEOUTEnds activity if no updates received30m
PUSHWARD_SABNZBD_TEMPLATEDisplay template (generic or timeline)generic

Download Phases

PhaseLive ActivityColor
StartingStarting...Blue
Downloading12.3 MB/s · avg 11Blue
PausedPausedBlue
VerifyingVerifying...Orange
RepairingRepairing...Orange
ExtractingExtracting...Orange
CompleteCompleteGreen
💡 टीप

The bridge automatically resumes tracking if it detects active downloads on startup, so it recovers gracefully from restarts.

Templates

SABnzbd supports two display templates, configured via PUSHWARD_SABNZBD_TEMPLATE:

TemplateDisplay
generic (default)Progress bar with speed, ETA, and file name
timelineSparkline chart showing download speed over time, with speed (MB/s) as the primary metric

Activity Slug Format

Uses a fixed slug: sabnzbd. All downloads are tracked under a single activity.