Forward full desktop notification payload - #194
Conversation
|
Hello, what is the benefit of forwarding the full notification content ? |
|
Hi, so I probably have a completely different use case for this container—I added a DBus wrapper and am piping social media notifications from Firefox out in real time. |
|
So I'm assuming that you are using a different Javascript client to handle the notification sent by the container ? |
|
Not quite — I kept the existing browser client in The separate SOCIALMEDIA-SYNCHER does not scrape browser state through another JavaScript client. It observes the same
The A concrete use case is receiving X post notifications live in Telegram. The same event can instead be used as a ping to any webhook, so another process can be triggered or synchronized to that cadence/rhythm. I sent you invitations with write access to two private working-copy repositories containing the patch and the syncher. I will keep that write access open for two weeks, through August 16, 2026, and then remove it again until further notice. Just out of curiosity: what are you using this notification mechanism for on your side? |
So who is using the new notification fields sent in the websocket (from the Go side)?
It's used to forward desktop notifications generated by the dockerized app to the user's host browser. So an app generating a desktop notification inside the container will appear as a native notification on the user's host computer. |
Summary
Notifyargument to WebSocket clientsExisting
summaryandbodykeys remain unchanged.Tests
go test ./...node --check rootfs/opt/noVNC/app/notificationService.js