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 👦👧
- 19 Posts
- 121 Comments
Go to “http://ntfy.example.com/mytopic/json?poll=1”
With your selfhosted URL and your topic filled in. See what you get back. You can also enable debugging to see if there any clues in the logs, both Android or the server.
Can you elaborate what you mean by “it is asking”? Are you using the Android app or iOS app? Which screen? Can you provide a step by step of what you’re doing, or a screenshot?
binwiederhier@discuss.ntfy.shMto
ntfy@discuss.ntfy.sh•Send data in non-custom fieldsEnglish
1·2 years agoIt’s probably easy as pie to implement. Feel free to open a ticket on GitHub.
binwiederhier@discuss.ntfy.shMto
ntfy@discuss.ntfy.sh•Send data in non-custom fieldsEnglish
1·2 years agoGot it. Yeah no that’s not supported. I have thought about adding that many times, but nobody’s asked for it so far.
I’d probably call them
extrasthough or something, so it’d be:{ "topic": "1234", "message": "foo", "title": "bar", "extras": { "customField": "baz" } }
binwiederhier@discuss.ntfy.shMto
ntfy@discuss.ntfy.sh•[SOLVED] Self-hosted NTFY does not receive all notificationsEnglish
1·2 years agoIt is not possible to log to both. I’m sure there is some Unix trick to do both, but I don’t know.
binwiederhier@discuss.ntfy.shMto
ntfy@discuss.ntfy.sh•Send data in non-custom fieldsEnglish
1·2 years agoCan you make an example? Like, you want to just send custom fields when you publish the message and then pass it along to where?
Thanks you for considering a donation.
Open Collective does not accept single-maintainer projects. I tried to open an account and had an email exchange with a person there, and they told me that I’d need a second owner for the account.
I can dig up the exact wording, but there’s sadly not much I can do.
That … actually looks and feels pretty slick. Very neat UI.
binwiederhier@discuss.ntfy.shto
Selfhosted@lemmy.world•Discuss.Online reduces infrastructure: Here is an update on how the server infrastructure changedEnglish
8·2 years agoGreat writeup thank you. May I just say that tmyour original plan was both ambitious and a little insane. And even the current cost and infrastructure is bonkers IMHO.
I do hope you’re getting donations to help with the cost. Good luck.
My instance is on the other end of the spectrum: I pay $6/month for it on digitalocean. It has 1G of RAM. It crashes every now and then, likely because of the RAM and OOM killer. But it’s only for me and a few ntfy fans, so it’s quite different.
binwiederhier@discuss.ntfy.shto
Programming@programming.dev•Server notification systemEnglish
1·2 years agoI do cover the costs yes, through donations and the paid plans.
It’s definitely fun to do some things, but others are daunting indeed. I do, however, learn a lot. I have learned a lot that I was able to reuse elsewhere. All that is priceless.
binwiederhier@discuss.ntfy.shto
Programming@programming.dev•Server notification systemEnglish
4·2 years agoThanks. 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.
binwiederhier@discuss.ntfy.shto
Programming@programming.dev•Server notification systemEnglish
23·2 years agoUse ntfy.sh. It’s open source and has a free server.
Disclaimer: I made it ;-)
binwiederhier@discuss.ntfy.shto
Programmer Humor@lemmy.ml•i hate when this happensEnglish
3·2 years agoYou can type
resetto fix your terminal if it gets messed up like that.
binwiederhier@discuss.ntfy.shOPMto
ntfy@discuss.ntfy.sh•Notify via ntfy on new Lemmy postsEnglish
3·2 years agoIn case you’re wondering, yes, I was notified about this post via the script 😂

binwiederhier@discuss.ntfy.shOPtoLemmy Support@lemmy.ml•How to notify on every new post for a specific community?English
1·2 years agoHere ya go. ChatGPT did all the hard work: https://chat.openai.com/share/7703dbe5-6801-4d5b-8d56-c3f18ca3ac4a
Edit: here’s a manually refined version: https://gist.github.com/binwiederhier/70f13b7c7338a2b75e15438b5567a6d6
binwiederhier@discuss.ntfy.shOPtoLemmy Support@lemmy.ml•How to notify on every new post for a specific community?English
3·2 years agoThat’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.
binwiederhier@discuss.ntfy.shOPtoLemmy Support@lemmy.ml•How to notify on every new post for a specific community?English
1·2 years agoOh 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.
binwiederhier@discuss.ntfy.shOPtoLemmy Support@lemmy.ml•How to notify on every new post for a specific community?English
3·2 years agoThanks 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?
binwiederhier@discuss.ntfy.shOPtoLemmy Support@lemmy.ml•How to notify on every new post for a specific community?English
2·2 years agoThat 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"








--message-expiry-durationis an option that you can pass when creating a new tier (in your selfhosted instance). It is equivalent to thecache-durationfor users publishing in that tier.For instance, if you are a ntfy Pro user, your messages are cached much longer than the normal 12h (see https://ntfy.sh/v1/tiers).
The naming is a little odd. I think
cache-durationshould probably be called something else.