I recently started messing around with ActivityPub, Mastodon and Lemmy and created LemmyLink, an open-source bot that seamlessly bridges Reddit and Lemmy. Triggered by the phrase “LemmyLink!” in a Reddit post title, body, or comment, the bot automatically creates a corresponding post on your chosen Lemmy instance. This allows Bidirectional post and comments between Reddit and Lemmy by triggering a Reddit bot.

Feel free to play around with it on r/LemmyLink. Simply include “LemmyLink!” anywhere in your post title, body or comment on the LemmyLink sub. This is setup on my own Lemmy instance lemmylink.com currently not federated and marked as a bot to avoid spamming the Fediverse.

There are some pros and cons to bridging communities but I think if done with transparency and user opt-in it could serve as an interesting way to bring more users in to the Fediverse. But, I’m curious what others think.

How LemmyLink Works

Only works for Subreddits and Lemmy communities specified in the code Reddit users include “LemmyLink!” in their Reddit post or comment LemmyLink posts the Reddit comment or post to Lemmy LemmyLink responds to the Reddit post or comment with link back to the Lemmy post The code is rough so go easy on me but it is available on GitHub: https://github.com/ateames/LemmyLink

Feel free to fork it, suggest improvements, or simply try it out.

  • threelonmusketeers
    link
    fedilink
    English
    arrow-up
    2
    ·
    7 hours ago

    Only works for Subreddits and Lemmy communities specified in the code Reddit users include “LemmyLink!” in their Reddit post or comment LemmyLink posts the Reddit comment or post to Lemmy LemmyLink responds to the Reddit post or comment with link back to the Lemmy post The code is rough so go easy on me but it is available on GitHub

    You should format this as a bulleted list, or at least add some punctuation. The wall of text is rather difficult to parse.

    • Pamasich@kbin.earth
      link
      fedilink
      arrow-up
      2
      ·
      6 hours ago

      It comes out as individual lines here on Mbin, so OP does seem to have used line breaks. Weird though that on Lemmy, including OP’s home instance, it doesn’t work.

      Does Lemmy maybe have a thing where line breaks work differently in the editor than the final post/comment? Like, Reddit expects you to put two spaces on the previous line for the line break to count, but it will display a line break in the editor by simply pressing enter. So the post as it looks in the editor isn’t necessarily how the final product will look like. Does Lemmy do something similar maybe?

      • threelonmusketeers
        link
        fedilink
        English
        arrow-up
        2
        ·
        6 hours ago

        Like, Reddit expects you to put two spaces on the previous line for the line break to count, but it will display a line break in the editor by simply pressing enter. So the post as it looks in the editor isn’t necessarily how the final product will look like. Does Lemmy do something similar maybe?

        Yep, same thing :)

  • Blaze@lemmy.zip
    link
    fedilink
    arrow-up
    16
    arrow-down
    1
    ·
    13 hours ago

    Interesting, but be ready to see it ban from Reddit very fast

    • Schmeeds@lemmy.worldOPB
      link
      fedilink
      arrow-up
      7
      ·
      13 hours ago

      Yeah, I don’t know if Reddit is going to like it very much but it should falls within Reddit guidelines. Because it is user initiated it is not considered a scraper. But I agree with you, I assume it will be banned at some point.

    • ccunning@lemmy.world
      link
      fedilink
      arrow-up
      2
      arrow-down
      1
      ·
      12 hours ago

      Agree. I understand the urge though. Especially when I was here fresh from Reddit. You’re going to miss all your small niche communities that are only feasible with an incredibly large user base.

      But you’re better off just accepting that Lemmy isn’t Reddit and learn to appreciate that it has its own benefits.