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.
LemmyLink - A Reddit to Lemmy Bridge Bot
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.
LemmyLink - A Reddit to Lemmy Bridge Bot
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.
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.
LemmyLink - A Reddit to Lemmy Bridge Bot
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.
LemmyLink - A Reddit to Lemmy Bridge Bot
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.
Got it! Sorry about that. I’ll mark this account as a bot account.
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.
Ugh I'm getting tired. Maybe I need to add this: LemmyLink!
Aaaand what about back at ya?
Ok, last try and then I'm going to bed. It's now 1...
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
IDK if this is working yet? no? 11:14
IDK if this is going to work? 1:11
LemmyLink! Doess it work? 1:10
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
12:45 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
12:41 - 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
12:21 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
Test Post and Comments
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! ...
Test Post and Comments
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! ...
A.I. Powered by Human Brain Cells!
Reddit user /u/LemmyLink triggered a Lemmy link!
Original Reddit Thread: https://v.redd.it/xxiugdw995zd1
OP text snippet:
> ...
A.I. Powered by Human Brain Cells!
Reddit user /u/LemmyLink triggered a Lemmy link!
Original Reddit Thread: https://v.redd.it/xxiugdw995zd1
OP text snippet:
> ...
A.I. Powered by Human Brain Cells!
Reddit user /u/LemmyLink triggered a Lemmy link!
Original Reddit Thread: https://v.redd.it/xxiugdw995zd1
OP text snippet:
> ...
A.I. Powered by Human Brain Cells!
Reddit user /u/LemmyLink triggered a Lemmy link!
Original Reddit Thread: https://v.redd.it/xxiugdw995zd1
OP text snippet:
> ...
A.I. Powered by Human Brain Cells!
Reddit user /u/LemmyLink triggered a Lemmy link!
Original Reddit Thread: https://v.redd.it/xxiugdw995zd1
OP text snippet:
> ...
Amen, hallelujah, praise Jeebis! These nonprofit evangelical douche-lords need to start paying some taxes.
This is me IRL! Almost too relatable.
Sounds like an interesting app you’re building. I’m working on an ideas that sounds like it would compliment what you’re working on. Shoot me a link or info if/when available.
I would think it would have to be an update to the client (App/Webpage) and server (database) code so yes, update to the codebase.
For the client side, the app/webpage would need to be update to display awards in the UI. And the server would need to store the awards, content award is associated with, user info etc.
I was thinking of an idea similar to Reddit awards to help fund instances.