That … actually looks and feels pretty slick. Very neat UI.
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 👦👧
That … actually looks and feels pretty slick. Very neat UI.
Great 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.
Here 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
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.
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.
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?
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"
Excuse my ignorance, but where can I find details to this issueand does it affect only 0.18.1, or also 0.18.0?
Thank you for contributing to the magic if the old school internet.
My question: How does one get to write an RFC? Do you have to become part of a certain group, or just be known in certain circles, or do you just start writing and then submit it somewhere? If I had a great idea that I think should become an RFC, what is the process to make this a reality?
Install Debian Stable on a SSD, most likely via debootstrap from the Ubuntu system
What an interesting way to install a new system. I’ve only ever done that for image building purposes. Why would you do that instead of just installing it from a flash drive?
Also: it sounds like you’re manually installing things. I would suggest Ansible or something similar, so that reinstalling isn’t so brittle and manual.
There are plenty of instances that copy the original content. As an instance owner that runs a only a single project specific community, I should be able to decide what content is available on my domain, and what isn’t. Don’t you think?
Aside from the questionable content, there is also legal issues around it that I’d rather not deal with.
There is no way to exclude individual communities. The post URLs are generic, like /post/1234. From nginx or other proxies, I cannot tell what community they belong to. I would love to have my own be searchable, but not at the price of tainting my project’s reputation.
I asked the same question on r/selfhosted a few weeks ago, and I was downvoted just for asking the question.
https://www.reddit.com/r/selfhosted/comments/13elu4p/why_downvote_so_much/
It’s already integrated into a bunch of things, especially the *arrs, but if you have suggestions, please let me or the maintainers of the other software know.
Here’s a list: https://docs.ntfy.sh/integrations/
It only works with 16.4 afaik.
Related to another Reddit app, but not RIF:
The Relay for Reddit dev (u/dbrady) is bravely working on Relay. I got an update yesterday. The changelog said “further reduce API calls”. I think he actually wants to make it a paid app, which I’d gladly pay for.
I hate the Reddit change as much as the next guy, but if the Relay dev can actually make a profit from it that’d be awesome. The app cost a one-time $4 or something, which I’m sure he never made bank with. Having like $3-5/month for it would probably be sustainable.
There are instructions on how to install the PWA on Safari/iOS here: https://docs.ntfy.sh/subscribe/pwa/#safari-on-ios
No. Web Push is a spec implemented by all browsers that allows servers to push notifications to the browser via their own push service. Each browser ships with its own hardcoded web push endpoints. Chrome uses FCM under the hood, Firefox uses some Mozilla servers, and so on.
However, all messages are encrypted with a key that the push servers do not know. Only your server and your browser do.
Sharded MySQL is my nightmare, and my proudest achievement at the same time. I designed and implemented an architecture for a product that is backed by heavily sharded MySQL servers, a total of over 700 servers worldwide, with hundreds of thousands of tables. It’s a fun, and a terrible space to live in. You may actually enjoy this blog post I wrote. Not many will: https://blog.heckel.io/2021/10/19/lossless-mysql-semi-sync-replication-and-automated-failover/
As for your actual problem of how to disconnect, I’d suggest to find another problem to solve and think about. Something that is yours, not the company’s. Like an open source project, or a side gig of some sort. That’s what I do.
Just try it out. I make no guarantees for odd setups like that though. :-)