A web app to easily transfer your user data from one Lemmy instance to another (stablenarwhal.github.io)
from Emotet@slrpnk.net to fediverse@lemmy.world on 27 Jun 05:39
https://slrpnk.net/post/10914657

cross-posted from: slrpnk.net/post/10823519

So I wrote a little web app that allows a user to move their user data, like settings and subscribed/banned communities, from one account/instance to another.

It runs completely client-side, but is hosted on GitHub for the moment. Maybe it’ll be of some use!

Features:

#fediverse

threaded - newest

Nighed@sffa.community on 27 Jun 06:54 next collapse

Isn’t this functionality already built into the default web UI?

Emotet@slrpnk.net on 27 Jun 07:42 collapse

The export/import functionality is, yes. This implementation uses the same API endpoints, but the main reason for this existing:

An instance I was on slowly died, starting with the frontend (default web UI). At least at the time, no client implemented the export/import functionality, so I wrote a simple script in Bash to download the user data, if the backend still works. Running a script can still be a challenge to some users, so I wrote a web application with the same functionality. It’s a bit redundant if we’re talking about regularly working instances, but can be of use if the frontend isn’t available for some reason.

Blaze@reddthat.com on 27 Jun 07:45 collapse

Interesting. I guess it can be useful for feddit.de (now feddit.org) users

kionite231@lemmy.ca on 27 Jun 07:52 next collapse

what kind of data does it export? post, comments, upvotes, downvotes, subscribed communities?

Emotet@slrpnk.net on 27 Jun 08:19 collapse

  • “display_name” ​
  • "bio" ​
  • "avatar" ​
  • "banner" ​
  • "matrix_id" ​
  • "bot_account" ​
  • "settings" ​
  • "followed_communities" ​
  • "saved_posts" ​
  • "saved_comments" ​
  • "blocked_communities" ​
  • "blocked_users" ​
  • "blocked_instances"
Anon518@sh.itjust.works on 27 Jun 10:14 next collapse

What about forking lasim, which is now inactive? github.com/CMahaff/lasim

It’s better than the built-in option because it gives you more options. For example, if I only want to add blocks from one account to another without overwriting any other settings. I don’t see that your tool allows for that.

Emotet@slrpnk.net on 27 Jun 10:30 collapse

The whole point of this being a web app is to make it as easy as possible for the user to download/modify/transfer their user data. LASIM is a traditional app the user has to download and install, similar to a script this web app was developed to replace due to being too difficult to use for some users.

The import functionality targeted by this API is additive and my app features a built-in editor to add, modify or remove information as the user sees fit. To achieve your stated goal, you’d have to remove anything except the blocked_users entries before importing, which my app supports, I added a wiki entry explaining the workflow in more Detail.

I may add options to modify the exported data in some ways via a simple checkbox in the future, but I wouldn’t count on it. I’m always open for pull requests!

Anon518@sh.itjust.works on 28 Jun 10:06 collapse

Thanks for the info!

I may add options to modify the exported data in some ways via a simple checkbox in the future, but I wouldn’t count on it.

The 2nd screenshot github.com/…/How-to-only-export-or-transfer-a-par… shows that feature already exists?

Emotet@slrpnk.net on 28 Jun 11:54 collapse

Indeed it does, I was talking about adding a checkbox tagged “Only transfer blocked users” instead of having to click through some menus.

warmaster@lemmy.world on 27 Jun 18:45 collapse

Could this work offline as a PWA? By offline I mean not hosted on your server, but locally.