12
How to notify on every new post for a specific community?
(discuss.ntfy.sh)
Support / questions about Lemmy.
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?
Yeah but you would have to know what posts are new and not already known.
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.
But i would not know how to save the ids there. But good luck :)
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
Ah ok now i know how to save things in files with bash :)