I think the title says it all. Basically, when a new comment appears on your targeted post, it sends you a PM about it.

@[email protected]

Usage

  • Subscribe to a post: just mention the bot in the comments or send the link to the bot via PM.
  • Unsubscribe from a post: send PM to the bot with stop text and link of the post like stop https://lemmy.ml/post/1234
  • Unsubscribe completely: Send PM to the bot and add stop text to your message. It will unsubscribe you from all subscriptions.

Note: the bot sends only one notification per post. It waits for the previous notification to be marked as read for new comments.

Made with @[email protected]’s lemmy-bot project 🙏 Tomorrow I will publish the code publicly after adding README and self-hosting guide.

    • iso@lemy.lolOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      I don’t know about the options you’ve said but I agree this should be a built-in feature. But it’s not.

  • rglullis@communick.news
    link
    fedilink
    English
    arrow-up
    5
    ·
    edit-2
    1 year ago

    So every user that decides to get notified will add a comment to the thread?

    If 100 people trigger it, 100 comments will be the exact same response?

    Also, if people end up “deleting the comment to keep the thread clean”, will they get purged as well?

    • iso@lemy.lolOP
      link
      fedilink
      English
      arrow-up
      5
      ·
      1 year ago

      Valid criticism. I’ll try to clear it tomorrow 👍 Any suggestions are appreciated.

  • donio@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    1 year ago

    Subscribe to a post: just mention the bot in the comments.

    Not a huge fan of the noise this adds the threads. Would be nice if Lemmy frontends could provide better ways to interact with bots. For example custom buttons that would PM the bot with the appropriate message to trigger the action.

    • iso@lemy.lolOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      1 year ago

      This feature must be implemented by built-in in the first place. But your idea makes sense too. I’ll try to discuss this with UI devs.

  • Scrubbles@poptalk.scrubbles.tech
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    1 year ago

    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?

    • iso@lemy.lolOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      1 year ago

      Its polling every 30th second only on my instance. So don’t worry, it will not make any difference for you ✌️

      • kopper [they/them]@lemmy.blahaj.zone
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 year ago

        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

        • iso@lemy.lolOP
          link
          fedilink
          English
          arrow-up
          3
          ·
          1 year ago

          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 🙏

          • kopper [they/them]@lemmy.blahaj.zone
            link
            fedilink
            English
            arrow-up
            1
            ·
            1 year ago

            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 🙏

            oh, I meant for the actual post watching part, summoning via mention should work without any subscription

            • iso@lemy.lolOP
              link
              fedilink
              English
              arrow-up
              1
              ·
              1 year ago

              I think to get mentioned comment, it needs to get parent post too. As I said, I need to test it. I can only assume right now.