Miniflux Webhook
from sabreW4K3@lazysoci.al to selfhosted@lemmy.world on 17 Apr 2024 18:44
https://lazysoci.al/post/12577849

Help? So what I’m trying to do is get n8n to send my phone a notification that tells me there’s new stories to read every time Miniflux does a pull.

I feel like this should be easy, but it’s not. I initially had it just telling me every half hour, but that felt like a dirty workaround. Should I be looking at webhook? Or am I thinking about this wrong?

#selfhosted

threaded - newest

JoeKrogan@lemmy.world on 17 Apr 2024 19:58 collapse

Could you just poll the miniflux db directly ?

sabreW4K3@lazysoci.al on 18 Apr 2024 05:18 next collapse

How would I get the timing right? It’s matching the timing where I’m falling over

JoeKrogan@lemmy.world on 18 Apr 2024 12:40 collapse

You could just poll it every few minutes via a cronjob and only send a notification if the numbers have increased.

Personally I use miniflux too in docker but I dont have a need for notifications.

sabreW4K3@lazysoci.al on 19 Apr 06:51 collapse

Right now it’s not in my muscle memory, so I need a prompt to keep me checking.

summerof69@lemm.ee on 18 Apr 2024 13:06 collapse

Or use their API, you can filter by timestamp here miniflux.app/docs/api.html#endpoint-get-entries or get counters here miniflux.app/docs/api.html#endpoint-counters

JoeKrogan@lemmy.world on 18 Apr 2024 14:54 next collapse

Yeah this is a much better approach

sabreW4K3@lazysoci.al on 19 Apr 06:54 collapse

Thank you, I’ll play with this later.