gotify / gotify/plugin-api

Allow plugins to create multiple apps

Aperta
#8 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Go
Stelle
16
Fork
4
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

**Is your feature request related to a problem? Please describe.**
I recently started using [gotify-smtp](https://github.com/tystuyfzand/gotify-smtp) to allow applications that don't natively support Gotify to still notify me. Sadly, everything sent to it enters in the "SMTP" app, making it hard to tell from which app the notification came.

**Describe the solution you'd like**
It would be nice if a plugin could generate multiple apps, so it could scale up like 1 SMTP plugin being useful for multiple SMTP senders.

**Describe alternatives you've considered**
The ability to run the same plugin multiple times would also make that possible, if the app name could be configured per plugin. There would however also need to be a way to prevent multiple instances of the same plugin from binding to the same path (in the SMTP plugin's case, port 1025), so this would seem more complex and harder to scale to me.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.