I think the title says it all. Welcome to the world, @[email protected]
[https://lemy.lol/u/PostWatchBot] baby! ### Usage - Subscribe to a post: just
mention the bot in the comments. It will start to send you notification when a
new comment is created. - Unsubscribe from a post: mention the bot ...
I think the title says it all. Basically, when a new comment appears on your targeted post, it sends you a PM about it.
How does it subscribe when lemmy doesn't have subscribing or notification apps? Does it just poll the server? (As a server owner the amount of traffic there worries me, and that could cost me depending on implementation)
If it's polling, how do you know to stop polling? Will it just poll a post forever?
in theory as you operate both the server and the bot you could modify lemmy to tell the bot when a new comment hits a thread instead of polling, which would be more efficient (but definitely harder to do!)
also does it handle the case where nobody from your instance is following a community? to make sure you get all the replies reliably the bot would need to subscribe to each community it's watching a post from
that said, great work. I may end up using it if I don't end up forgetting about its existence :p
Iβm using a library named lemmy-bot. To achieve what you say, I need to modify both library and lemmy server. As you can guess, I canβt afford time for these π
I think itβs not using much resources anyways. 2 requests per minute is nothing compared to hundreds of ActivityPub requests per second.
I didnβt tested non-followed community, but the bot works with mention event instead of comment. But still not sure, Iβll test this one π