binwiederhier

joined 1 year ago
MODERATOR OF
[–] [email protected] 4 points 11 months ago (2 children)

Thanks. I don't work on it full time, no. It's a side gig project I've been doing for a year and a half. I recently added paid plans to get a little side income, but it's not really taken off. Likely because the free tier is too generous hehe.

[–] [email protected] 22 points 11 months ago (6 children)

Use ntfy.sh. It's open source and has a free server.

Disclaimer: I made it ;-)

[–] [email protected] 3 points 11 months ago

You can type reset to fix your terminal if it gets messed up like that.

[–] [email protected] 3 points 11 months ago

In case you're wondering, yes, I was notified about this post via the script 😂

[–] [email protected] 1 points 11 months ago* (last edited 11 months ago) (1 children)
[–] [email protected] 3 points 11 months ago (3 children)

That's what saving the IDs is for right? It's easy enough to do in a bash script I think. I'll post it here later, assuming I get it to work.

[–] [email protected] 1 points 11 months ago

Oh that's a good idea. Any reader suggestions? I have thought about trying RSS again for a while. Maybe this is a good enough reason.

[–] [email protected] 3 points 11 months ago (5 children)

Thanks dude. I'm going to try the curl route. What do you mean by it sends you every post? Isn't that what I want?

[–] [email protected] 2 points 11 months ago* (last edited 11 months ago) (7 children)

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"
[–] [email protected] 1 points 11 months ago (1 children)

Glad you got it working!

[–] [email protected] 1 points 11 months ago

Excuse my ignorance, but where can I find details to this issueand does it affect only 0.18.1, or also 0.18.0?

[–] [email protected] 2 points 11 months ago (2 children)

That's a great username, dude. 😎 Glad you solved your problem.

Next time, check out this page to help you increase the log levels: https://docs.ntfy.sh/troubleshooting/

 

Hey folks,

ntfy (pronounce: 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.

You can use it like this (see the docs for dozens more features):

curl -d "Backup successful" ntfy.sh/mytopic

Feel free to ask anything about ntfy here or on the Discord/Matrix.

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

20
submitted 1 year ago* (last edited 1 year ago) by [email protected] to c/[email protected]
 

ntfy iOS support is about to get much better. While I haven't worked on the native app in a while, the progressive web app (PWA) is going to make the web app enough to receive notifications on iOS (and others).

Almost all of the credit goes to @nimbleghost for the implementation.

 

cross-posted from: https://discuss.ntfy.sh/post/3200

I use ntfy (on another instance) + healthchecks.io to wake me up at night when ntfy.sh is down (crazy inception, right?). It's the "poor man's PagerDuty" if you will. It works amazingly.

Here's how I set it up:

  • I signed up healthchecks.io (free plan) and configured a project for "ntfy.sh" with a "ntfy" integration, i.e. publish to ntfy.example.com/<secret> with max priority
  • I have two different hosts execute small "integration ntfy.sh tests" and only ping healthchecks.io if they succeed. If they don't healthchecks.io will publish to ntfy.example.com/<secret>
  • In the ntfy Android app, I subscribe to ntfy.example.com/<secret>, enable "Keep alerting on highest priority", and make it override DND (do not disturb) for this topic.

Now when ntfy.sh goes down, the integration tests in the cronjobs will fail, and so healthchecks.io will not be pinged, which will trigger it to publish to ntfy.example.com/<secret> and let my phone consistently ring until I acknowledge it.

(Disclamer: I am the maintainer of ntfy. Hope posting this is fine. Happy to answer questions; I also have a brand new ntfy community, feel free to join)

 

I use ntfy (on another instance) + healthchecks.io to wake me up at night when ntfy.sh is down (crazy inception, right?). It's the "poor man's PagerDuty" if you will. It works amazingly.

Here's how I set it up:

  • I signed up healthchecks.io (free plan) and configured a project for "ntfy.sh" with a "ntfy" integration, i.e. publish to ntfy.example.com/<secret> with max priority
  • I have two different hosts execute small "integration ntfy.sh tests" and only ping healthchecks.io if they succeed. If they don't healthchecks.io will publish to ntfy.example.com/<secret>
  • In the ntfy Android app, I subscribe to ntfy.example.com/<secret>, enable "Keep alerting on highest priority", and make it override DND (do not disturb) for this topic.

Now when ntfy.sh goes down, the integration tests in the cronjobs will fail, and so healthchecks.io will not be pinged, which will trigger it to publish to ntfy.example.com/<secret> and let my phone consistently ring until I acknowledge it.

 

Hey folks, the r/selfhosted community has always been very kind to ntfy, and with recent events, I'm moving the r/ntfy subreddit to Lemmy.

https://discuss.ntfy.sh/c/ntfy

Feel free to join and/or ask questions about ntfy.

25
submitted 1 year ago* (last edited 11 months ago) by [email protected] to c/[email protected]
 

Welcome to the ntfy community ❤️

ntfy.sh (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. Check out the docs for more info.

Feel free to ask anything about ntfy here or on the Discord or Matrix.

How do I sign-up on discuss.ntfy.sh?

Registration to this Lemmy instance are disabled (for now), because managing the spam accounts and such is a huge hassle. You can sign-up on any of the other instances (e.g. lemm.ee, discuss.tchncs.de, sopuli.xyz, or others), and then subscribe to this community or post here.

Donations & sponsorships

If you like ntfy, please consider sponsoring me via GitHub Sponsors or Liberapay 💸💰.

Links

view more: ‹ prev next ›