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.
Removed by mod
Probably, I looked through the code briefly and it seems like its automating a headless 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