this post was submitted on 07 Jan 2025
10 points (100.0% liked)

Lemmy Integrations

367 readers
1 users here now

A community about all integrations with the lemmy API. Bots, Scripts, New Apps, etc.

founded 1 year ago
MODERATORS
 

Is there any way to just like open a websocket and get notified of e.g. new posts/comments/etc, or is the only way to do that by polling?

I tried looking at the API docs, but didn't see anything about it

top 4 comments
sorted by: hot top controversial new old
[–] [email protected] 8 points 1 month ago (1 children)

Nothing like that built-in, but look for the lemmy webhooks software in this comm and you'll find a tool which can provide this functionality for you.

[–] [email protected] 4 points 1 month ago (1 children)
[–] [email protected] 2 points 3 weeks ago (1 children)

You can find it here: https://github.com/rikudousage/lemmywebhook

I'm the author, feel free to send a PM or add me on Matrix!

[–] [email protected] 1 points 3 weeks ago

Thanks, will reach out if I've got questions!