mirror of
https://github.com/binwiederhier/ntfy.git
synced 2026-05-15 07:35:49 -06:00
[GH-ISSUE #158] UDP-based polling #129
Labels
No labels
ai-generated
android-app
android-app
android-app
build
build
dependencies
docs
enhancement
enhancement
in-progress 🏃
ios
prio:low
prio:low
pull-request
question
server
server
unified-push
web-app
website
🔒 security
🔥 HOT
🪲 bug
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/ntfy#129
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @FedericoCeratto on GitHub (Mar 12, 2022).
Original GitHub issue: https://github.com/binwiederhier/ntfy/issues/158
It would be nice to have UDP-based notification with a polling mechanism.
Use-cases:
Proposed solution:
Perhaps this kind of implementation is off-topic for Ntfy?
Alternatively, UDP-based notification could instead be implemented on a DHT like https://github.com/savoirfairelinux/opendht
@binwiederhier commented on GitHub (Mar 12, 2022):
This is a wild idea. If I were to implement this, I'd suggest we do a simple "are there new messages since" approach, instead of sending back the messages themselves.
Like this:
And then after that the device would have to poll via http, but only topic mytopic, since the server didn't indicate that there are new messages.
This approach avoids ever having to split up messages, and reordering, and even encryption.
@FedericoCeratto commented on GitHub (Mar 12, 2022):
@binwiederhier are you concerned about the size of the notifications? In the examples I had in mind they were less than a hundred bytes each (before compression).
In any case authenticated encryption is still advisable to protect confidentiality of the topics.
@binwiederhier commented on GitHub (May 22, 2022):
I gotta be honest I have no intention of implementing this. This seems a little bit like an oddball request. I think I'd be happy to accept code for it, but I don't think I want to implement it.
I hope you understand that I cannot implement every feature that people wish for. Please keep the ideas coming and thank you for discussing it with me.