this post was submitted on 06 Jul 2023
8 points (100.0% liked)
Lemmy
12568 readers
24 users here now
Everything about Lemmy; bugs, gripes, praises, and advocacy.
For discussion about the lemmy.ml instance, go to !meta@lemmy.ml.
founded 4 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
That's awesome. Are you planning on giving it out publicly?
I think I remember reading about an existing project which aims to allow migration of followed communities, users, blocks, etc. between instances. I'd imagine that would be far cleaner than my quick solution so it might be worth a look!
I'll try cleaning mine up though and I'll post it here just in case it's useful.
Here's my Python script, it requires Python 3 and requests: -
You use it like this (for example), assuming it's saved to
sync.py
: -python sync.py --source-url=https://lemmy.ml --dest-url=https://lemmy.world --source-jwt=abc123 --dest-jwt=bcd234
Thank you very much for this.