this post was submitted on 05 Jul 2023
4 points (100.0% liked)

ntfy

45 readers
1 users here now

ntfy (pronounced notify) is a simple HTTP-based pub-sub notification service. You can use it to send push notifications to your phone via HTTP PUT/POST.

ntfy websiteDocumentationGitHubGoogle PlayF-DroidDiscordApp StoreMatrix

If you'd like to become a sponsor, I would be humbled to accept your donation via GitHub Sponsors or Liberapay 💸💰.

founded 1 year ago
MODERATORS
 

Hi guys do you know of any way to integrate ntfy push notifications with lemmy?

Only way I've found so far is using an rss script https://github.com/camerahacks/rpilocator-rss-feed/blob/main/rpilocator-rss-ntfy.py

Curious if there are any other better ways to go about this

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 2 points 1 year ago* (last edited 1 year ago) (1 children)

I don't really self host a lemmy instance so I ended up taking a different route (admitidly janky but reliable).

I have a mac mini running 24/7, I enabled lemmy to send notification emails. On my mac I have the mail app set to automatic refresh and have a set of rules which search for lemmy instance as sender and subject contains reply. When mail detects it I have an apple script run a mac shortcut which checks my inbox latest inbox rss extracts the text and sends a ntfy push. Admitedly there are better ways to do this probably (than relying on shortcuts and apple script) but it works 🫠

Result notification

Also I have the link set to open wefwef on android (open in opens webapp) on ios I have it run deeplink to a shortcut which opens wefwef in webview

[–] [email protected] 2 points 1 year ago (1 children)
[–] [email protected] 2 points 1 year ago (1 children)

Thanks. Quick question are nifty topics publically discoverable (ie there is a place in the nifty server to view anyones topic)?

I ended up choosing a long topic (I legit just mashed random letters in my keyboard) to make it undescoverable.

Example (ihfepaoheiwpahfiauwh)

Could some one easily discover that and snoop into the topic?

[–] [email protected] 1 points 1 year ago (1 children)

There is no way to list topics. That would be silly, given that topics are meant to be used as secret notification channels 🙃

The admin of the server can obviously list topics, but normal users cannot.

[–] [email protected] 2 points 1 year ago

Good to know. Also thanks for making this push notifications are working reliable now 😉

I also changed the default notification sound to harvonicas harp from apollo (reminds me of apollo's push to a degree) 🥲