After seeing the work someone else did with migrating your subscriptions across accounts. I took their code and expanded upon it to fully synchronize your Lemmy instance accounts.
Feel free to give it a try. It’s been useful for me to have accounts in multiple instances with the instability problems right now from the big influx of users.
Let me know what you think. Hopefully it can help a few people.
Hey if you’re interested in offering this as a web app of sorts reach out to me. I’m glad to provide hosting if you want. I’d also be interested in integrating with the app we are working on Memmy.
Just curious, will this script work if you have 2FA enabled on your Lemmy accounts?
Sorry for the delay in getting back.
Currently it will not work with 2FA enabled. However, looking at the login post requirements I just need to add that as an option to put in the config.
I’ll reply to this comment again when I get something put together. I’ll add it to the GitHub issues list for tracking as well.
However, could you recommend an instance that uses 2FA for login so I can make an account to test it? I see the field in my current instances but would like something fresh to try it on.
Why is this needed?
Worked perfectly. Thanks for making this, I really appreciate it. I was suprised that it was able to accept my password which included dollar signs. I assumed I should enclose it in double quotes, but I didn’t need to
I’m getting a
TypeError: unsupported operand type(s) for |: 'type' and 'NoneType'
when I do:git clone https://github.com/Ac5000/lemmy_account_sync.git cd lemmy_account_sync/ pip install -r requirements.txt cp exampleconfig.ini src/myconfig.ini nano src/myconfig.ini python3 src/lemmy_sync.py
I’ve confirmed that my
[
and ][
details are correct in myconfig.ini, but beyond that I don’t really know what I’m doing. ]