Skip to content

martabal/webhook-to-ntfy

Repository files navigation

Webhook to ntfy

Publish Release Build Test

What is it

Use Webhook to ntfy to services that don't support ntfy, but support webhook notifications.

Services available :

  • gitea
  • grafana
  • overseerr

Run it

docker run --name=webhook-to-ntfy \
    -e NTFY_BASE_URL=http://192.168.1.10:8080 \
    -e NTFY_USERNAME=admin \
    -e NTFY_PASSWORD='<your_password>' \
    -e PORT=3000 `#optional` \
    -p 3000:3000 \
    martabal/webhook-to-ntfy

Docker-compose

version: "2.1"
services:
  immich:
    image: martabal/webhook-to-ntfy:latest
    container_name: webhook-to-ntfy
    environment:
      - NTFY_BASE_URL=http://192.168.1.10:8080
      - NTFY_USERNAME=admin
      - NTFY_PASSWORD='<your_password>'
      - PORT=3000 #optional
    volumes:
      - ~/webhook-to-ntfy:/config
    ports:
      - 3000:3000
    restart: unless-stopped

Without docker

git clone https://github.com/martabal/webhook-to-ntfy.git
cd webhook-to-ntfy
cargo build --release
./target/release/webhookntfy