suppenloeffel

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

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

[–] [email protected] 11 points 4 months ago

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
 

Lemmy bietet seit Version 0.19 eine Funktion an, um die user data zu ex- und importieren. Das geht normalerweise über einen Button in den Settings des Webinterfaces, das geht aktuell bei feddit.de nicht.

Aber der zugrundeliegende API-Aufruf funktioniert noch, solange man noch mit einem Browser auf feddit.de eingeloggt ist:

  1. Man gehe auf https://feddit.de/api/v3/user/export_settings und speichert die zurückgegebene Datei als irgendwas.json
  2. Man nehme einen (neuen) Account auf einer stabilen Instanz der Wahl, gehe auf /settings und lade irgendwas.json über den Import-Button hoch.
  3. Voilà, man genieße die neue Instanz.

Das funktioniert mit jeder Instanz >=0.19, man muss lediglich das "feddit.de" in der URL ersetzen. Und wenn das Webinterface funktioniert, geht das auch über den Export- Button in den Settings.

[–] [email protected] 10 points 4 months ago

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.

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

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.

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

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.

[–] [email protected] 8 points 4 months ago

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.

[–] [email protected] 26 points 4 months ago (2 children)

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.

[–] [email protected] 8 points 4 months ago

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

 

Wenn man auf die Bubatzkarte schaut, ist es in dem schönen, offenen Bereich vor dem bayerischen Landtag zwischen 20 und 7 Uhr legal, Cannabis zu konsumieren.

Nachdem Gottkönig Söder so ein lautstarker Freund des CannG ist, bietet es sich doch bei Gelegenheit an, an einem angenehmen Sommerabend quasi unter seinem Bürofenster an diesem wunderbaren Ort der Freiheit die ein oder andere Rauchwolke aufsteigen zu lassen.

view more: next ›