It’s very sad to see Feddit.ch go! I want to thank you for the great 8 months I’ve had here and all the time you dedicated towards the running of the instance. All the best!🙇♀️
Thanks a lot for your effort so far! Much appreciated!
Am I the only one getting a Server error when I try to login via feddit.ch?
No, sadly it’s been like this for the past few weeks.
Yeah, same for me. Does anyone know a way to export the profile through an API? Because the API seems to be working, at least, as I can see these post and respond to them.
Or if there is some other way to access the site, that’d be helpful as well
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.
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 <module> 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…
I got it working in shell as well:
#!/bin/bash read -p "Username: " user read -p "Password: " -s pass read -p "TOTP: " totp res=$(curl \ --request POST \ --url "https://feddit.ch/api/v3/user/login" \ --header 'accept: application/json' \ --header 'content-type: application/json' \ --data '{"username_or_email":"'$user'","password":"'$pass'","totp_2fa_token":"'$totp'"}') jwt=$(echo $res | sed -re 's/^.*"jwt":"([^"]*)".*$/\1/') curl \ --request GET \ --url "https://feddit.ch/api/v3/user/export_settings" \ --header 'accept: application/json' \ --cookie "jwt=$jwt" \ -o "export.json"
I’d recommend echoing $res and $jwt before processing them further
Edit: if you don’t have TOTP enabled, don’t forget to remove it from the request
Docs: https://lemmy.readme.io/reference/post_user-login
Edit 2: added spacing
Thanks!!! It worked and I am now migrated.
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
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!
this is very sad news :(
Are there any other Swiss Lemmy instances?
You can search for instances by country here:
I didn’t realise there were only just over 500 of us here. It certainly felt much bigger!
Thank you
Sad news indeed. Thanks for all your time and effort.
That’s disappointing but thank you for giving us a place to call ‘home’ in the fediverse for as long as you did. I appreciate your time and effort doing so.
If anyone needs help finding a new instance here are some resources:
join-lemmy.org/instances
lemmy.fediverse.observer/list
lemmyverse.net/My personal general purpose instance recommendations & server locations:
feddit.de - Germany
sopuli.xyz - Finland
lemmy.ca - Canada
sh.itjust.works - CanadaI started using slrpnk.net while lemmy 0.19 was causing federation issues back in late December early January but that’s an instance intended for people interested in or involved with the Solarpunk movement so it’s not going to be an ideal place for everyone. Any of the general purpose instances I’ve mentioned are great options that I’ve used in the past.
Thanks for the recommendations. feddit.de seems like the natural choice, but I might go with sopuli.xyz purely because I don’t want local to be 90% ich_iel posts 😅