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

Push notifications for specific user / group of users #615

Open
2 of 6 tasks
axoxymous-coder opened this issue Dec 7, 2023 · 2 comments
Open
2 of 6 tasks

Push notifications for specific user / group of users #615

axoxymous-coder opened this issue Dec 7, 2023 · 2 comments
Labels
question Further information is requested

Comments

@axoxymous-coder
Copy link

axoxymous-coder commented Dec 7, 2023

Have you read the documentation?

  • Yes, but it does not include related information regarding my question.
  • Yes, but the steps described in the documentation do not work on my machine.
  • Yes, but I am having difficulty understanding it and wants clarification.

You are setting up gotify in

  • Docker
  • Linux native platform
  • Windows native platform

Describe your problem

Hi Team,

At the outset, thanks to the author(s) and all the contributors for this fantastic project. For one of my requirements I was considering Gotify. I have tested the project and have a fair amount of understanding on how it works; but wanted to get some of my queries clarified by the experts here.

I am developing a server side application which needs to send in-app push notifications to both web and mobile clients. Basically clients maintain a persistent WebSocket connection and server sends the notifications. For a send to all and receive by all (connected) clients, I can use Gotify as is. My requirement also include sending targeted message to specific user and group of users. I am wondering if this can be achieved through Gotify. I have explored the plugin (https://github.com/eternal-flame-AD/gotify-broadcast) which does a good job at broadcast in a channel and it probably solves my send to a group use case. However it needs a lot of configuration and with more number of groups its going to be really complicated.

I am looking for suggestions from the Gotify community if anybody has solved similar use cases through Gotify. Any help/pointers will be highly appreciated. Thanks in advance.

@axoxymous-coder axoxymous-coder added the question Further information is requested label Dec 7, 2023
@jmattheis
Copy link
Member

Hey, solving this problem in gotify is pretty difficult because the data model doesn't support it. Currently applications are bound to a specific user. This makes it difficult to support sending messages to a specific user, because you'd need an application token from that specific user.

It would probably be possible to adjust gotify-broadcast to allow sending messages to a specific user.

@OdinVex
Copy link

OdinVex commented Jan 21, 2024

Perhaps this could be done for a Major SemVer then? I'd rather see Broadcast integrated and extended so well. Plus SVG icons, they can be much smaller than PNG, JPEG, GIF and scale to size. Having trouble with multiple devices getting blurry or too clear (oversized) icons.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Development

No branches or pull requests

3 participants