webhook-to-ntfy

Export your webhook notifications to ntfy

MIT License

Stars
2
Committers
2

Webhook to ntfy

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-cli (click here for more info)

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