User's banner
Avatar

suppenloeffel

suppenloeffel@feddit.de
Joined
3 posts • 79 comments
Direct message

Hier ein kleines HowTo, wie man seine Userdata auch schnell umziehen kann.

permalink
report
parent
reply

Für die Leute, die keine offene Browser Session haben, hier ein kleines, aber funktionales Bash Script, welches im Ausführungsverzeichnis eine myFedditUserData.json erstellt, welche bei anderen Instanzen importiert werden kann.

Anforderungen:

  • Linux/Mac OS X Installation
  • jq installiert (Unter Ubuntu/Debian/Mint z.B. per sudo apt install -y jq

Anleitung:

  • Folgendes Script unter einem beliebigen Namen mit .sh Endung abspeichern, z.B. getMyFedditUsserData.sh
  • Script in beliebigen Textprogramm öffnen, Username/Mail und Passwort ausfüllen (optional Instanz ändern)
  • Terminal im Ordner des Scripts öffnen und chmod +x getMyFedditUsserData.sh ausführen (Namen eventuell anpassen)
  • ./getMyFedditUsserData.sh
  • Nun liegt im Ordner neben dem Script eine frische myFedditUserData.json

Anmerkung: Das Script ist recht simpel, es wird ein JWT Bearer Token angefragt und als Header bei dem GET Aufruf von https://feddit.de/api/v3/user/export_settings mitgegeben. Wer kein Linux/Mac OS X zur Verfügung hat, kann den Ablauf mit anderen Mitteln nachstellen.

Das Script:

#!/bin/bash

# Basic login script for Lemmy API

# CHANGE THESE VALUES
my_instance="https://feddit.de"			# e.g. https://feddit.nl
my_username=""			# e.g. freamon
my_password=""			# e.g. hunter2

########################################################

# Lemmy API version
API="api/v3"

########################################################

# Turn off history substitution (avoid errors with ! usage)
set +H

########################################################

# Login
login() {
	end_point="user/login"
	json_data="{\"username_or_email\":\"$my_username\",\"password\":\"$my_password\"}"

	url="$my_instance/$API/$end_point"

	curl -H "Content-Type: application/json" -d "$json_data" "$url"
}

# Get userdata as JSON
getUserData() {
	end_point="user/export_settings"

	url="$my_instance/$API/$end_point"

	curl -H "Authorization: Bearer ${JWT}" "$url"
}

JWT=$(login | jq -r '.jwt')

printf 'JWT Token: %s\n' "$JWT"

getUserData | jq > myFedditUserData.json
permalink
report
reply

Selfhosted services like Nextcloud/Immich aren’t nearly as dependent on a critical user mass like Discord/Matrix, but the principle is the same.

If you host for family or friends, they may even use it if you convince them to switch. But when the setup, which doesn’t consist of redundant instances and isn’t maintained by a small army of SysAdmins 24/7, inevitably breaks for longer than a few minutes, most will switch back to the easy, reliable option.

permalink
report
parent
reply

I’d love to be able to disagree in any of your points, but I can’t.

The vast majority of users want something that simply works, is polished and intuitively usable. Reading docs, remembering anything other than the bare minimum, running into issues that don’t get magically resolved within 5 minutes will turn them away forever.

Even people with a technical background will at least partially compromise and migrate towards the services with the most users to not isolate themselfs.

Matrix is neat, Lemmy is neat, Nextcloud is neat (well, in theory), Immich is neat, so many other privacy friendly solutions are neat. But they’ll always be irrelevant in the global context.

permalink
report
parent
reply

FCKNZS, aber das halte ich für ne gefährliche Einstellung. Sollte das Brandstiftung gewesen sein, wovon ich persönlich ausgehe, ist das unabhängig vom Ziel eine sehr gefährliche Aktion und meiner Meinung nach kontraproduktiv. Man hat paar Hurensöhnen die Lagerhalle abgefackelt und dabei Unbeteiligte in Form des übergreifenden Brandes gefährdet sowie glücklicherweise lediglich finanziell geschädigt.

Für die Hurensöhne ist das ärgerlich, aber für die Unbeteiligten ist das mindestens absolut scheisse und potenziell desaströs. So kriegt man in der Bevölkerung jedenfalls keine breitere Unterstützung.

permalink
report
parent
reply

Signal and DeltaChat, as well as Simplex and some others e2e communication solutions, are adequate from a technical point of view.

The main issue is always adoption. You can have the most convenient way to safely communicate with people, it’ll be useless if nobody you’re talking to wants to use it.

So, since Signal is very easy to set up and use as well as the most adopted, it’s currently the best pick for regular conversations.

permalink
report
parent
reply

Telcos know that authentication is about the only remaining use case for SMS and are not going to turn down the revenue stream.

And it can’t die fast enough, as it’s essentially the same as broadcasting your sensitive information over unencrypted radio.

Apart from security, phone number based user identification is such a half-assed approach and I still don’t get why Signal wants to die on that hill. It’s inconvenient, yet trivial, for anyone to register a second, third or tenth phone number. With a bit more knowledge and inconvenience, even anonymously. It adds so little.

permalink
report
parent
reply

Sweet, now I get to put “worked with NASA” in my résumé.

permalink
report
reply