eternal-flame-AD / gotify-broadcast

A plugin which brings broadcasts to gotify.
MIT License
53 stars 7 forks source link

gotify-broadcast as a plugin to be an "application" relay to different user #10

Closed StarZNighT closed 1 month ago

StarZNighT commented 1 month ago

Search Keyword: another application, read from another, gotify-smtp, relay application, application relay.

As the title says, is there a way to implement broadcasting to x users the same message recieved from another "Application". For example i've got gotify-smtp installed and would like to send the same message i recieve to other users too. So an implementation (if possible) would be that if this plugin is able to read inside the given application token and listen into that "channel" (app/token) for incoming notification and spam them to other users. I hope to be clear. Could this be implementable?

eternal-flame-AD commented 1 month ago

@StarZNighT Thanks for the issue, I get what you mean, I'm currently busy but I should be able to look at it by Thursday!

eternal-flame-AD commented 1 month ago

@StarZNighT

So currently I don't think there is a way for a plugin to directly intervene with other applications or plugins. However these may work for your purpose:

eternal-flame-AD commented 1 month ago

Applications (and to a lesser degree, plugins) are very parasitic in gotify, they don't really have the capability to see inside the system and thus don't really have access to the messages by design.

StarZNighT commented 1 month ago

I'm going to write a new ticket on the main gotify server repo thank you so much!

eternal-flame-AD commented 1 month ago

I'm going to write a new ticket on the main gotify server repo thank you so much!

Great! I am closing this for now because it seems you intend to look for upstream solutions. I am editing your original issue to add some keywords so if more people have the same requests they can find this and I can reconsider it. If you still want to discuss feel free to respond, I don't mind. I may reopen this if further discussion leads to it.