schemes

joined 1 week ago
MODERATOR OF
[–] schemes 4 points 1 day ago

You have to define the specific community in the code. You can specify the Lemmy community LEMMY_COMMUNITY_ID and the instance URL LEMMY_BASE_URL in a config file. The code then routes to the community in the config.

 

cross-posted from: https://lemmy.world/post/25243870

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.

 

cross-posted from: https://lemmy.world/post/25243870

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.

[–] schemes 7 points 1 day 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.

 

cross-posted from: https://lemmy.world/post/25243870

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.

 

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.

14
Took the '64 out (lemmy.world)
submitted 6 days ago by schemes to c/aircooled
 
[–] schemes 1 points 1 week ago

Got it! Sorry about that. I’ll mark this account as a bot account.

[–] schemes 2 points 1 week ago

Even I have my reservations about the idea but I think it could help stitch communities together. For now I have it set up as a 1:1 Reddit community to Lemmy community to avoid spam being blasted to Lemmy.

[–] schemes 1 points 1 week ago

Ugh I'm getting tired. Maybe I need to add this: LemmyLink!

[–] schemes 2 points 1 week ago

Aaaand what about back at ya?

 

Reddit user /u/LemmyLink triggered a LemmyLink! Bot

Triggered Comment:

Ok, last try and then I'm going to bed. It's now 1:25am LemmyLink! 

Original Reddit Thread: https://www.reddit.com/r/LemmyLink/comments/1ieu8zp/test_post_and_comments/

Submission Title: Test Post and Comments

[–] schemes 1 points 1 week ago

IDK if this is working yet? no? 11:14

[–] schemes 1 points 1 week ago

IDK if this is going to work? 1:11

-1
submitted 1 week ago by schemes to c/lemmylink
 

Reddit user /u/LemmyLink triggered a LemmyLink! Bot

Triggered Comment:

LemmyLink! Doess it work? 1:10

Original Reddit Thread: https://www.reddit.com/r/LemmyLink/comments/1ieu8zp/test_post_and_comments/

Submission Title: Test Post and Comments

[–] schemes 1 points 1 week ago

Testing from here back to Reddit... 12:46

-1
12:45 LemmyLink! (self.lemmylink)
submitted 1 week ago by schemes to c/lemmylink
 

Reddit user /u/LemmyLink triggered a LemmyLink! Bot

Triggered Comment:

12:45 LemmyLink!

Original Reddit Thread: https://www.reddit.com/r/LemmyLink/comments/1ieu8zp/test_post_and_comments/

Submission Title: Test Post and Comments

-1
12:41 - LemmyLink! (self.lemmylink)
submitted 1 week ago by schemes to c/lemmylink
 

Reddit user /u/LemmyLink triggered a LemmyLink! Bot

Triggered Comment:

12:41 - LemmyLink!

Original Reddit Thread: https://www.reddit.com/r/LemmyLink/comments/1ieu8zp/test_post_and_comments/

Submission Title: Test Post and Comments

-1
12:21 LemmyLink! (self.lemmylink)
submitted 1 week ago by schemes to c/lemmylink
 

Reddit user /u/LemmyLink triggered a LemmyLink! Bot

Triggered Comment:

12:21 LemmyLink!

Original Reddit Thread: https://www.reddit.com/r/LemmyLink/comments/1ieu8zp/test_post_and_comments/

Submission Title: Test Post and Comments

[–] schemes 1 points 1 week ago

Now I just need to get response working.

1
Test Post and Comments (self.lemmylink)
submitted 1 week ago by schemes to c/lemmylink
 

Reddit user /u/LemmyLink triggered a Lemmy link!

Original Reddit Thread: https://www.reddit.com/r/LemmyLink/comments/1ieu8zp/test_post_and_comments/

OP text snippet:

This is a test of the LemmyLinkBot! ...

-1
Test Post and Comments (self.lemmylink)
submitted 1 week ago by schemes to c/lemmylink
 

Reddit user /u/LemmyLink triggered a Lemmy link!

Original Reddit Thread: https://www.reddit.com/r/LemmyLink/comments/1ieu8zp/test_post_and_comments/

OP text snippet:

This is a test of the LemmyLinkBot! ...

[–] schemes 4 points 1 week ago

Amen, hallelujah, praise Jeebis! These nonprofit evangelical douche-lords need to start paying some taxes.

[–] schemes 1 points 1 week ago

This is me IRL! Almost too relatable.

view more: next ›