Hi I’m Phil 👋, I’m a software engineer, and I maintain an open source push notification tool called ntfy. I’m also German 🇩🇪, and a big fan of 🇬🇧 & 🇺🇸, and a dad of two 👦👧

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

help-circle




  • That implies that it’s not a native feature. I gotta find the API docs then…

    Edit: Looks like there is an easy-ish API. Examples:

    $ curl -s "https://discuss.ntfy.sh/api/v3/post/list?sort=Hot"|jq '.posts[].post.name'
    "Docker-compose + Traefik"
    "[SOLVED] Self-hosted NTFY does not receive all notifications"
    "Markdown is coming soon ... 🤩 😲"
    "[disscussion] Lemmy push notifications with ntfy"
    "Using healthchecks.io and ntfy.sh to wake you up if your services are down"
    "Ntfy Connector: Modal-based discord bot to send,and now receive, ntfy notifications."
    "Welcome to the new ntfy discussion board"
    "ntfy Web Push / PWA support is coming soon"
    "📢  ntfy Web Push / PWA: Request for testing!"
    "ntfy release 🎉 - Now with Web Push and a progressive web app (hello iOS friends ❤️), and with dark mode for the web app! ntfy lets you send push notifications to your phone via a simple REST API, and"
    








  • binwiederhier@discuss.ntfy.shtoLemmy@lemmy.mlLemmy v0.18.0 Release
    link
    fedilink
    English
    arrow-up
    16
    ·
    edit-2
    1 year ago

    WebSockets … causing live updates to the site which many users dislike

    I appreciate all the work in this release. It’s insane how much you packed into one release. Well done. I am most excited about the live updates going away. It was quite disruptive. Thanks for that.

    That said, WebSockets can be implemented very efficiently. I run an open source notification service called ntfy, and the public instance ntfy.sh currently keeps 6-8k WebSocket connections and thousands more HTTP stream (long polling HTTP) open, all on a 2 core machine with 4GB of RAM. My point being that WebSockets can be implemented very efficiently. Though in Lemmy’s case it’s likely not necessary.

    – Another thing I wanted to notice is that I am missing mentions of security issues in the release notes. There are some tickets that sound really really really bad, like this one: https://github.com/LemmyNet/lemmy/issues/3060

    Isn’t that more important than anything else?