A random person on lemmy

Banner art from Deemo switch version

  • 48 Posts
  • 64 Comments
Joined 1 year ago
cake
Cake day: June 11th, 2023

help-circle
  • It is planned but it probably will take a while to implement since lemmy doesn’t support webpush api. Without web push their are only two ways to check for notifications (both aren’t elegant):

    1. Poll the lemmy api for new messages (say every min). This would be bandwith intensive for both voyager servers and your lemmy instance (Memmy does this and currently for 800 users 3gb of bandwith is used per day). Even if voyager is able to scale there servers to handle bandwith lemmy instances could impose rate limits which would prevent notifications from coming through.

    2. Set up a weird janky system to intercept emails sent from lemmy instance to trigger a voyager server to ask the api if there are any new messages (would reduce poll rate but would be super clunky to setup).

    Web push api could solve this issue since instead of voyager having to ask lemmy if their are new messages web push allows the opposite to happen (lemmy telling voyager a new message has arived).

    https://github.com/LemmyNet/lemmy/issues/3552






















  • Lemmy is actually interesting as there could be four implementations (or five if you consider none).

    • Standard instant push notifications (you get them in app and out of app)
    • Push notifications only while app is open in forground (example lemmy web ui only has notifications when tab is open)
    • Polled notifications (notifications that occur after preset interval).
    • A combination of the above three (ex: polled notifications in background push in forground)
    • No notifcations at all

    Just some thoughts





  • I love wefwef/voyager. This might not be a normal feature people use but I love wefwef’s deep linking feature (on android). I have a push notification system for lemmy which detects incomming emails from lemmy and uses ntfy to send reddit sync like push notifications. In wefwefs case I can set ntfy to open voyagers inbox directly. Voyager is also nice since opening a unread message (or interacting with it) auto marks it as read (which I don’t believe other clients do for some reason, I could be wrong though).