Skip to content

Feature request: ntfy tags and title from URL query parameters #689

@cmerkle

Description

@cmerkle

Dockhand uses Apprise-style ntfy URLs but URL query parameters like ?tags= and ?title= are ignored. Looking at the source, the ntfy handler builds its own headers and hardcodes tags to just the event type:

const i = {
  Title: e.title,
  Priority: e.type === "error" ? "5" : e.type === "warning" ? "4" : "3",
  Tags: e.type || "info"
};

This means there is no way to set custom tags or a title on ntfy notifications — the URL query params are never parsed.

Would be great if the ntfy handler parsed query parameters from the URL and used them to override or supplement the default headers, similar to how Apprise handles ?tags= and ?priority=. That way users could set something like:

ntfys://user:pass@ntfy.example.com/topic?tags=ship,whale&title=Dockhand

and have those values show up in the notification.

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