this post was submitted on 11 Jul 2023
174 points (98.9% liked)

Reddit Was Fun

6541 readers
3 users here now

Memorial to "rif is fun for Reddit" Android app, aka "reddit is fun", shut down after June 30, 2023

founded 1 year ago
MODERATORS
 

One thing that annoyed me about moving to Lemmy was that I'd lose my subreddits and that looking for and joining communities on Lemmy would be tedious. So (logically) I spent 2 days writing a script, that gets a list of your subreddits from your reddit account and looks for communities with the same name on Lemmy. It also joins those communites. So all you have to do is download, enter your credentials and you're done.

https://github.com/induna-crewneck/Reddit-Lemmy-Migrator/

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 14 points 1 year ago (2 children)

How does this work when you have different communities on different instances?

[–] metarmask 5 points 1 year ago* (last edited 1 year ago)

It tries to subscribe to the one on lemmy.world as well as the most subscribed one on any instance according to lemmy.world.

[–] [email protected] 2 points 1 year ago (1 children)

You can access all instances from whichever server you are signing in from. Or am I misunderstanding your question?

[–] [email protected] 8 points 1 year ago (1 children)

They probably mean duplicate communities on different instances.

[–] [email protected] 1 points 1 year ago (2 children)
[–] [email protected] 12 points 1 year ago* (last edited 1 year ago) (1 children)

because it is not unequivocal mapping and he asks how you deal with the situation where you have 10 possible replacements. do you just sign to all of them?

[–] [email protected] 8 points 1 year ago (1 children)

Ah gotcha. It looks for the community on lemmy.world. It also searches for the community with the most subscribers. So for example you're looking for "videos" and that's on lemmy.world but also on lemmy.ml with more members, in this case you'd be subscribed to both.

[–] [email protected] 4 points 1 year ago (1 children)

Because some of these communities are more official than others. For example, I modded /r/simpleliving and made [email protected], but [email protected] also exists. It would be a bit annoying if users were directed to the less-active and less-official community over the one I made just because it happens to be on lemmy.world.

[–] [email protected] 1 points 1 year ago (1 children)

That's a fair point. In this case your lemmy.ml community would also be subscribed to, if it's any consolation.

[–] [email protected] 1 points 1 year ago (1 children)

How does this work if lemmy.world isn't your home instance? Will the same local community + most subscribed federated community rule apply?

[–] [email protected] 1 points 1 year ago

Your home instance doesn't change this script's behavior as is. Works regardless, though.

If you want, you can do a search and replace of "lemmy.world" with "lemmyserver" in the code.