- cross-posted to:
- [email protected]
- cross-posted to:
- [email protected]
I have created some software that is capable of synchronising posts from Reddit to Lemmy. It’s still a little rough around the edges, but it works as a such:
People can request new subreddits to be mirrored on [email protected]. A bot (open source) will monitor the threads there, and if it finds a new request for a subreddit, it will make a new community on the Lemmit server, and add it to its monitored list. It will then make periodic checks to see if any new posts (it doesn’t copy any comments) have been posted on reddit, and copy those over.
Users can then subscribe to those communities from their own lemmy instance, and from there federation will pick it up. Or at least, that’s the theory. At the moment, federation is not working awesomely, and that is where my lack of fediverse knowledge comes in. Maybe it needs more time, or something is not so properly - I don’t know.
Furthermore: registrations on this server are closed. The point of this service is not to become a community on its own, but to deliver, ehh, “original” content to all the rest of the Fediverse while it’s going through a ramp-up phase. Besides, the instance is running on a pretty small vps, and I rather have this thing manage itself. There is a [email protected] community for further questions about the project itself though, in case people want to discuss it further.
So ehm… Let me know what you think :)
It was just a matter of time before something like this showed up.
I’m sure there will be a number of people that won’t be a fan of this but I think it’s a pretty innovative way to help the chicken-and-egg problem of early adoption. (No users because there’s no content, no content because there’s no users).
Very smart to have it limited to one bot on one instance to make it easy to block (or de-federate) for those that don’t like it, but I do.
Interesting idea! I have some thoughts if you’re open to feedback:
Furthermore: registrations on this server are closed. The point of this service is not to become a community on its own, but to deliver, ehh, “original” content to all the rest of the Fediverse while it’s going through a ramp-up phase.
Have you considered moderation? These mirrored communities on lemmit.online will still be getting comments from all over the federated network, and if you’re the only user and sole moderator of every community, then it might get quite overwhelming!
Besides, the instance is running on a pretty small vps, and I rather have this thing manage itself.
Just in case you’re not aware, your instance will need to be able to handle:
- Pushing out posts and comments to all other instances in the network
- Accepting comments and votes from subscribers on any instance from the network
A small VPS might not be able to handle that!
It will then make periodic checks to see if any new posts (it doesn’t copy any comments) have been posted on reddit, and copy those over.
How are you planning to deal with API limits from Reddit? Without paying, at most you’ll be able to make 6000 requests per hour, which means that you’ll only be able to get new posts from the last hour for up to 6000 subreddits. It might seem like a big number, but consider that there are (according to some old posts online) over 100,000 active subreddits.
Interesting idea! I have some thoughts if you’re open to feedback:
Always!
Have you considered moderation? These mirrored communities on lemmit.online will still be getting comments from all over the federated network, and if you’re the only user and sole moderator of every community, then it might get quite overwhelming!
I have, and I hope it won’t be a problem ;) I’m a software engineer, as mentioned above, have little interest in managing people outside of work :P If anyone wants to become a moderator, they’re free to request it.
A small VPS might not be able to handle that
We’ll see how well it does. I don’t mind spending a little money on this (few dozen €/$ per month), if it takes off. In the end though, it’s more meant as a kickstart for Lemmy content than anything else.
How are you planning to deal with API limits from Reddit?
HA! By not using the API. For starters, because someone-who-isnt-me would like to browse NSFW content. I do a bit of client-side throttling between requests, which I hope will keep me under the radar. But it’s mostly based on rss for the subreddit overview, and scraping for the individual posts.
In the end… we’ll just have to see how it goes.
One thing that would be nice: The links in the messages saying:
I’ll get right on that. Check out /c/…
Would be nice if the link for /c/… was for lemmit.online. If not on there already, they don’t work since they go to the current server’s community with the given name.
Edit: This is open source… Here’s a merge request that I think fixes it: https://gitlab.com/sab_from_earth/lemmit/-/merge_requests/6/diffs
Thanks!
Another thing, I’m still not sure why but posts aren’t showing from federated instances.
For example: https://sh.itjust.works/c/[email protected] shows nothing. However: https://lemmit.online/c/squaredcircle shows plenty of content.
Looks like it’s just a matter of patience 👍 .
Just to be clear, what if there is already a community on Lemmy that coincides with a subreddit? Will it make another community on your instance? Or will it use the existing community?
Yeah, the bot only operates on its own instance. So you can have [email protected] and [email protected].
Makes perfect sense. Thanks.
Okay, just tried it out. Added /r/bestof and it’s working. Very cool!
I’m guessing this scrapes? Otherwise it’ll stop working when the API changes happen on July 1.
Yups. Combination of scraping and rss. With a bit of client-side throttling thrown in to stay under the radar.
Looks great so far. I like how the posts that are pulled over have both the link to the content from the original Reddit post as well as a link to the Reddit post itself.
I’m interested in having Reddit content show up in my feed when I use Jerboa, but for the life of me, I can not figure out how. Can anyone help? You’d have to explain it to me like you’re talking to either a 3 year old, or a 93 year old.
Step 1: go to [email protected] and check if the subreddit you want has already been requested. If so, it contains a link you can use to subscribe to it. If not, read the sidebar and make a post in the request community.
Do note that Lemmit will only copy over the starting posts, not the comments. So there is no point in requesting subs like /r/askmen etc.
Let me know if you have any further questions, and please be specific.