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

External Notifications #237

Open
Bovive opened this issue Dec 29, 2023 · 7 comments
Open

External Notifications #237

Bovive opened this issue Dec 29, 2023 · 7 comments
Labels
🔧 feature New feature or request 🎛️ server There are things to do on the server

Comments

@Bovive
Copy link

Bovive commented Dec 29, 2023

Is your feature request related to a problem? Please describe.
Being able to send notifications externally to webhooks, etc (ex. Discord) for when a new game is added, updated, or when new files are added (once #149 is implemented).

Describe the solution you'd like
I would like for GameVault to be able to send the notifications directly.

Describe alternatives you've considered
Currently I have an automation in Homeassistant handle this for me, however it is rather crude. It uses folder_watcher to monitor for new/updated files. It doesn't integrate with the GameVault API however, so the information it provides is limited to file/folder names. It currently sends three different types of notifications:

  1. A new .iso or .rar file -> New Game Available in GameVault.
  2. A modified .iso or .rar file -> Updated game available in GameVault.
  3. A new .exe file -> A game update is available via File Browser.

Additional context

This is an example notification for an updated .iso Discord notification using my current system:

image

@Bovive Bovive added 🎛️ server There are things to do on the server 🔧 feature New feature or request labels Dec 29, 2023
@Alfagun74
Copy link
Contributor

Alfagun74 commented Dec 29, 2023 via email

@Alfagun74 Alfagun74 moved this from 📃 New Issues to 🔧 Planned in GameVault: Public Roadmap Dec 30, 2023
@Alfagun74
Copy link
Contributor

i would like a system that basically supports multiple services via one url scheme, you can configure in the config. Like a telegram, discord, sms service or whatever the user needs. I think i once saw something like that and need to look this up as it would be awesome to support more than only discord.

@Alfagun74
Copy link
Contributor

Alfagun74 commented Jan 4, 2024

https://github.com/caronc/apprise

This right here. But it looks like it only supports python. I would need to install this in our docler base image, then call it via cli from gv-server. Need to check if that could cause any security vulnerabilites.

@Zallist
Copy link

Zallist commented Jan 27, 2024

Alternatively, https://containrrr.dev/shoutrrr/v0.8/ ( https://github.com/containrrr/shoutrrr ) which is based on apprise but written in Go. It's a bit lighter but doesn't support as many endpoints. Probably easier to integrate though.

@ShadowPeo
Copy link

Apprise can also be run via an API server (I use the Linuxserver.io implementation [https://hub.docker.com/r/linuxserver/apprise-api]), which allows you to send the notification to a webhook via anything that can send a post/get request, and it then handles the notifications from there. It is an extra service that would need to be run and set up, but there is minimal overhead with the running, and it could be used for other services, so people may already have one.

What would be helpful is having a default route but allowing to override this to other apprise notification paths for some messages, so, for example, a new game deployed goes to one notification, but errors go elsewhere.

@Alfagun74
Copy link
Contributor

@ShadowPeo Thanks for the heads up, but i think i'd rather embed one. Given running GameVault in a Cluster is not really a thing it should not be a problem. Just need the time to begin this already. :)

@Da-Geek
Copy link

Da-Geek commented Oct 27, 2024

I know this is now already on the Roadmap, But just wanted to give another Voice to the "Yes Please, I would love this feature..."

I have been having a conversion about this very recently, with regards to telling users about Updates.
The new 'news.md' feature is really nice, but still also a Manual process, and also not without the issue that it always
shows the GameVault News Page first, and the "Server News" option is not immediately visible, seemingly to any of my users.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🔧 feature New feature or request 🎛️ server There are things to do on the server
Projects
Status: 🔧 Planned
Development

No branches or pull requests

5 participants