https://github.com/martabal/webhook-to-ntfy
Export your webhook notifications to ntfy
https://github.com/martabal/webhook-to-ntfy
ntfy rust webhook
Last synced: about 2 months ago
JSON representation
Export your webhook notifications to ntfy
- Host: GitHub
- URL: https://github.com/martabal/webhook-to-ntfy
- Owner: martabal
- License: mit
- Created: 2023-02-26T18:49:15.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-07-02T16:09:50.000Z (12 months ago)
- Last Synced: 2025-03-29T15:35:13.450Z (3 months ago)
- Topics: ntfy, rust, webhook
- Language: Rust
- Homepage:
- Size: 95.7 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Webhook to ntfy
[](https://github.com/martabal/webhook-to-ntfy/actions/workflows/push_docker.yml)
[](https://github.com/martabal/webhook-to-ntfy/actions/workflows/build.yml)
[](https://github.com/martabal/webhook-to-ntfy/actions/workflows/test.yml)## What is it
Use Webhook to ntfy to services that don't support [ntfy](https://github.com/binwiederhier/ntfy), but support webhook notifications.
Services available :
- gitea
- grafana
- overseerr## Run it
### Docker-cli ([click here for more info](https://docs.docker.com/engine/reference/commandline/cli/))
```sh
docker run --name=webhook-to-ntfy \
-e NTFY_BASE_URL=http://192.168.1.10:8080 \
-e NTFY_USERNAME=admin \
-e NTFY_PASSWORD='' \
-e PORT=3000 `#optional` \
-p 3000:3000 \
martabal/webhook-to-ntfy
```### Docker-compose
```yaml
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=''
- PORT=3000 #optional
volumes:
- ~/webhook-to-ntfy:/config
ports:
- 3000:3000
restart: unless-stopped
```### Without docker
```sh
git clone https://github.com/martabal/webhook-to-ntfy.git
cd webhook-to-ntfy
cargo build --release
./target/release/webhookntfy
```