this post was submitted on 09 Aug 2024
37 points (91.1% liked)

Ask Lemmy

26709 readers
2067 users here now

A Fediverse community for open-ended, thought provoking questions

Please don't post about US Politics.


Rules: (interactive)


1) Be nice and; have funDoxxing, trolling, sealioning, racism, and toxicity are not welcomed in AskLemmy. Remember what your mother said: if you can't say something nice, don't say anything at all. In addition, the site-wide Lemmy.world terms of service also apply here. Please familiarize yourself with them


2) All posts must end with a '?'This is sort of like Jeopardy. Please phrase all post titles in the form of a proper question ending with ?


3) No spamPlease do not flood the community with nonsense. Actual suspected spammers will be banned on site. No astroturfing.


4) NSFW is okay, within reasonJust remember to tag posts with either a content warning or a [NSFW] tag. Overtly sexual posts are not allowed, please direct them to either [email protected] or [email protected]. NSFW comments should be restricted to posts tagged [NSFW].


5) This is not a support community.
It is not a place for 'how do I?', type questions. If you have any questions regarding the site itself or would like to report a community, please direct them to Lemmy.world Support or email [email protected]. For other questions check our partnered communities list, or use the search function.


Reminder: The terms of service apply here too.

Partnered Communities:

Tech Support

No Stupid Questions

You Should Know

Reddit

Jokes

Ask Ouija


Logo design credit goes to: tubbadu


founded 1 year ago
MODERATORS
 

If I have two Lemmy accounts can I have all of my subscriptions combined so they show up on both?

I don't really need them synced live but I just want to have all subs on both.

I have some subs that are the same on both servers, but also extra subs on both that the other doesn't have.

If this seems like it breaks rule 5, please direct me elsewhere. I figured [email protected] is just for server issues.

top 8 comments
sorted by: hot top controversial new old
[–] Asudox 1 points 2 months ago

Locking as this question violates rule 5.

[–] [email protected] 9 points 3 months ago* (last edited 3 months ago) (1 children)
  • export the settings from both accounts

  • put the contents through a json formatter (https://jsonformatter.curiousconcept.com/#)

  • copy the elements from the "followed_communities" array from one of the files and append it onto the other one.

  • import the file with the merged list.

[–] [email protected] 3 points 3 months ago

I wrote a simple, locally running Webapp some time ago, that targets the Lemmy Import-/Export-API and supports transferring only specific userdata between accounts, as demonstrated in this corresponding Wiki Entry.

The import functionality in Lemmy is additive in nature, meaning anything you import gets added on top of existing settings instead of replacing it.

Does the same thing as these manual instructions for this usecase, may be helpful to some.

[–] [email protected] 7 points 3 months ago (1 children)

You can export account settings and then import them into another user. I’m not sure it takes communities with though.

[–] [email protected] 4 points 3 months ago (1 children)

It does includes subs, but it'll overwrite the existing when you import, I think.

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

What's the formatting? It's designed to be easily parsed by a computer, so I can't imagine a whole lot of complexity in a script to merge them.

[–] [email protected] 1 points 3 months ago (1 children)

JSON. Very easy to deal with in Python.

[–] [email protected] 1 points 3 months ago* (last edited 3 months ago)

https://pastebin.com/AWGqEjwr

I didn't actually test uploading it, but yeah, it does look super straightforward.