caronc / apprise-api

A lightweight REST framework that wraps the Apprise Notification Library
https://hub.docker.com/r/caronc/apprise
MIT License
580 stars 50 forks source link

Request: chrome notifications #91

Open dburner opened 1 year ago

dburner commented 1 year ago

:bulb: The Idea The ideea is simple, add support for chrome notifications.

The implementation might not be possible l, didnt look into these too much but apparently they require some keys/ token exchange, and possibly a persisted state.

If this could be done it could prove useful.

Maybe use the url format to pass the tokens to apprise, and let the parent app generate the tokens.

:hammer: Breaking Feature Probably none.

caronc commented 1 year ago

I had a quick look at the notifications. Chrome/Firefox/Etc all support notification from within websites after you accept/agree to allowing it to send a notification, but not from outside (where Apprise resides).

Maybe something for the Apprise API?

WebKenth commented 1 year ago

@caronc it's pretty easy to solve

Launch apprise as a PWA with notifications enabled ( the webinterface could be modified to serve as a notification hub for browsers )

now the PWA can send as many notifications in the background as you want

caronc commented 1 year ago

Issue transferred to apprise-api repo