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

Feature request: icon param for notifications #126

Closed
poblabs opened this issue Feb 3, 2022 · 6 comments
Closed

Feature request: icon param for notifications #126

poblabs opened this issue Feb 3, 2022 · 6 comments
Labels
android-app ntfy Android app enhancement New feature or request

Comments

@poblabs
Copy link
Contributor

poblabs commented Feb 3, 2022

Outside of the file or attachment parameters, it would be nice to have an icon parameter. This would show up on the android client to the side as a quick visual reference to the alert. I also have another use case where I would use it with windows 10 toast notifications.

Thanks!

@binwiederhier
Copy link
Owner

@poblabs Would you want something like this:

curl -d hi -H "Icon: https://example.com/myicon.png" ntfy.sh/mytopic

Or (with myicon being configured in the app):

curl -d hi -H "Icon: myicon" ntfy.sh/mytopic

@binwiederhier
Copy link
Owner

Also, would #155 be enough?

@poblabs
Copy link
Contributor Author

poblabs commented Apr 22, 2022

@binwiederhier I think per-notification icon would be a nice touch. That way I only have to sub to 1 topic, but use it for multiple apps. The icon would identify the app within the sub. I suppose I'm not picky though as I could make a new topic for each app - just more overhead to remember it all

@blacklight
Copy link

+1 on this

I still use Pushbullet for notification mirroring exactly for this reason: notification mirroring without icons (of the app, the contact, or whatever the notification decides to display as an icon) is suboptimal.

Custom icons configured in the app are definitely interesting, but IMHO the greatest potential could come from supporting generic icons as URLs.

@wunter8
Copy link
Contributor

wunter8 commented Jul 16, 2022

Alright! The code is just about done!

image

image

image

image

image

@binwiederhier
Copy link
Owner

Done, next release

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
android-app ntfy Android app enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants