Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for ntfy #746

Open
cpatscheider opened this issue Oct 31, 2023 · 1 comment · May be fixed by #747
Open

Add support for ntfy #746

cpatscheider opened this issue Oct 31, 2023 · 1 comment · May be fixed by #747

Comments

@cpatscheider
Copy link

Current State:

Notifications to ntfy can be triggered via the generic webhook notification.
However this results in receiving the json as plain text notification:
image

Target State:

Native ntfy support shall be added via seperate environment variables for configuration.
E.g.:
NTFY_ENDPOINT
This will allow to post the notification in a way to output nice ntfy notifications:
image

Optional

  • Mapping of log level to ntfy priorties. E.g.: ERROR -> MAX_PRIORITY
  • Support for Authentication (ntfy is open by default)

Implementation

Should be very similar to the Discord implementation using the go implementation snippet from the ntfy website: https://docs.ntfy.sh/publish/#tags-emojis
image

@cpatscheider
Copy link
Author

I am gonna try myself out on this one, since it looks pretty straight forward.
Bear with me since this is my first contribution .

@cpatscheider cpatscheider linked a pull request Nov 3, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant