this is a reference implementation in go for taking a Dink request & forwarding it to Gotify
the parsing / message building is left as an exercise to the user
Assuming your gotify host is available through HTTPS at gotify.example.com
:
go build
./dink-gotify.exe --gotify-url=https://gotify.example.com/message --gotify-token=your-gotify-token 127.0.0.1:8080
Then point Dink to push notifications to http://127.0.0.1:8080/dink