this post was submitted on 11 Jul 2023
158 points (97.0% liked)

Reddit Was Fun

6494 readers
13 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
[–] induna_crewneck@lemmy.world 0 points 1 year ago (2 children)
[–] 14th_cylon@lemm.ee 11 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?

[–] induna_crewneck@lemmy.world 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.

[–] BaroqueInMind@kbin.social 2 points 1 year ago (1 children)

Any way to make this compatible for kbin?

[–] Gt5@kbin.social 2 points 1 year ago

Probably, I looked through the code briefly and it seems like its automating a browser to grab the subs from reddit, checking them on lemmy and subbing to them. You can likely replace it with kbin as needed. This is a quick scroll through though, I may be missing something here

[–] inasaba@lemmy.ml 3 points 1 year ago (1 children)

Because some of these communities are more official than others. For example, I modded /r/simpleliving and made !simpleliving@lemmy.ml, but !simpleliving@lemmy.world 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.

[–] induna_crewneck@lemmy.world 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.

[–] tkc@feddit.uk 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?

[–] induna_crewneck@lemmy.world 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.