Skip to content

Add support for ntfy #746

@cpatscheider

Description

@cpatscheider

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions