this post was submitted on 11 Mar 2024
36 points (97.4% liked)

feddit.ch Instance Announcements

157 readers
1 users here now

The only purpose for this community is to give the instance users information about the current state of the instance. Only moderators can post to this community.

founded 1 year ago
MODERATORS
 

Because of missing time and resources, feddit.ch will shut down on 31.03.2024. The domain feddit.ch will be available from the 08.06.2024.

In your profile settings, you can export your profile and import it on a new server into a new account.

Thank you all for your engagement.

_Frog

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 4 points 8 months ago* (last edited 8 months ago) (6 children)

Does anyone know a way to export the profile through an API?

I'm not sure if this is what you're asking for or even if it will work but I found a tool for migrating accounts:

https://github.com/wescode/lemmy_migrate

To answer your other question, I find the site can be accessed briefly on evenings, night time. If you want to log in you could try using one of the alternative front ends for Lemmy such as Voyager, Alexandrite or Photon.

They work on both desktop and mobile browsers but they won't allow you to export account data.

Jerboa on Android, still works for me, so I use it to access here.

[–] [email protected] 2 points 8 months ago (5 children)

Jumping on this to see if we can help each other out. I tried the lemmy Migrator and while Export works just fin, I get the following response when I Import, not only in DRY RUN Mode:

*** DRY RUN enabled, no changes will be made ***

[ Getting Main Account info - https://feddit.ch ] Logged into https://feddit.ch. Traceback (most recent call last): File "/home/{user}/lemmy_migrate/lemmy_migrate/lemmy_migrate.py", line 175, in main() File "/home/{user}/lemmy_migrate/lemmy_migrate/lemmy_migrate.py", line 148, in main sync_subscriptions(None, main_lemming, comms_backup) TypeError: sync_subscriptions() missing 1 required positional argument: 'excld_comms'

Also, when I try to use the Account Settings Export via the API, I use this:

curl -v -X GET -u usrname:pwd https://feddit.ch/api/v3/user/export_settings > exp.txt

I get the following Output: {"error":"incorrect_login"}

If anyone could help it would be amazing, I would be sad to lose it all. My AI of choice wasn't any help btw, but my skills aren't great with those things so...

[–] [email protected] 3 points 8 months ago* (last edited 8 months ago) (2 children)

I used the LemmyHTTP Nodejs module to connect to the API, and after a few tries, got it working. I could post my code in an hour, if you want it.

edit: docs: https://join-lemmy.org/api/index.html

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

That would be great, I continued to try with cURL and then a client called lasim, but nothing worked sadly. Don't forget to remove your pw!

load more comments (2 replies)
load more comments (2 replies)