this post was submitted on 17 Jun 2023
58 points (98.3% liked)

Lemmy

2172 readers
2 users here now

Everything about Lemmy; bugs, gripes, praises, and advocacy.

For discussion about the lemmy.ml instance, go to [email protected].

founded 4 years ago
MODERATORS
 

I've created a quick script to copy your communities from one account to another. Useful when switching instances.

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

I just tried and It works great! may I suggest to accept multiple destination accounts? perhaps with a config file, instead of a parameter? that way can be also possible to automate synchronizing the accounts that in multiple instances. Thanks for all the work.

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

The code is now controlled by a config file that allows multiple accounts to sync.

[–] colifloro 1 points 1 year ago

great improvement!! thanks!

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

I'll look into adding more options. I think I'm going to end up creating a full Lemmy API for python so that it can be used for a myriad of projects.