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

  • colifloro@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    2 years ago

    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.

    • MoreCoffeeOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      2 years 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.

    • MoreCoffeeOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      2 years ago

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