Channel Apps

navigation

BlogAnleitungen/TutorialsLese-Log
📝 Artikel pro Kategorie: Android: (1) Datenbank: (6) Fediverse: (1) GrapheneOS: (1) Hubzilla: (14) Linux: (4) Nextcloud: (1) Terminal: (4) Tutorials: (13)

📚 Bücher pro Kategorie: Belletristik: (1) Holocaust: (2) Lese-Log: (8) Psychothriller: (2) Thriller: (3)
lima-city: Webhosting, Domains und Cloud

Wer von Mastodon kommt, kennt die einfache Möglichkeit Hashtags zu folgen um seine Timeline dank fehlender Algorithmen interessant zu füllen. Bei Hubzilla geht das auch, über einen kleinen Umweg mit noch viel besseren Einstellmöglichkeiten.

Zuerst definiert man einen Link dem man den gewünschten Tag anhängt auf https://relay.fedi.buzz/tag/

Sieht dann so aus, für beispielsweise dem Hashtag "hubzilla:

https://relay.fedi.buzz/tag/hubzilla

Dann geht man auf seiner Instanz auf "Verbindungen"

Translated with DeepL.com (free version)

Anyone who comes from Mastodon knows how easy it is to follow hashtags to fill their timeline with interesting content thanks to the lack of algorithms. This is also possible with Hubzilla, via a small detour with even better settings options.

First, define a link to which you attach the desired tag on https://relay.fedi.buzz/tag/

It will then look like this, for example, for the hashtag "hubzilla:

https://relay.fedi.buzz/tag/hubzilla

Then go to “Connections” on your instance.

Screenshot des Verbindungsdialogs

Dort gibt man die eben erstellte Channeladresse ein und klickt auf das Plus woraufhin sich ein neues Fenster öffnet:

Enter the channel address you just created and click on the plus sign, which will open a new window:

Screenshot des Verbindungsdialogs Filter für den Inhalt

Interessant ist hierbei das Feld "Filter für den Inhalt" - "Nur Beiträge mit diesem Text importieren" und "Beiträge mit diesem Text nicht importieren"

The “Filter for content” field is interesting here - “Only import posts with this text” and “Do not import posts with this text.”

Screenshot des Verbindungsdialogs Filter für den Inhalt

Mit "lang=de" werden nur deutsche hubzilla-Beiträge angezeigt. Man kann zwar an anderer Stelle in der Administration auch einstellen das nur deutsche Beiträge angezeigt werden sollen, aber vielleicht will man woanders ja auch englische haben. Hier gilt das nur für den definierten Hashtag.

Beim Feld darunter könnte man mit "lang=cn" alle Sprachen abrufen außer chinesisch. Hier findet man weitere Ländercodes: Ländercodes nach ISO-3166

Mit ein bischen rumprobiererei kann man sich seinen Feed perfekt anpassen. Die Felder Rollen und Privacygruppen kann man hier vernachlässigen weil der Hashtag keine Userrechte braucht, er agiert ja nicht.

With “lang=de,” only German Hubzilla posts are displayed. You can also set other areas of the administration to display only German posts, but you may want to have English posts elsewhere. Here, this only applies to the defined hashtag.

In the field below, you could use “lang=cn” to display all languages except Chinese. You can find more country codes here: Country codes according to ISO-3166

With a little trial and error, you can customize your feed perfectly. The fields “Roles” and “Privacy groups” can be ignored here because the hashtag does not require user rights; it does not take action.


#Hubzilla #Mastodon #Hashtags

Da Hubzilla ja alles, auch Bilder, Videos, Dokumente als Blob (Binary Large OBject) in der Datenbank ablegt schwillt die in kurzer Zeit ziemlich an. Meine z.B. hat nach 4 Tagen eine Größe von 1,2Gb. Ich hab 2 Wege gefunden das Problem zu lösen:

Administration - Seite - ganz nach unten scrollen:

Setze den Zeitraum (in Tagen), ab wann importierte (aus dem Netzwerk) Inhalte ablaufen sollen

und

Lass keine Beiträge verfallen die Kommentare haben, die jünger als diese Anzahl von Tagen sind

Dabei werden Instanzfremde Inhalte mit denen deine Instsnz nicht agiert hat nach X Tagen gelöscht. Ich habe beide Werte auf 7 Tage eingestellt.

Translated with DeepL.com (free version)

Since Hubzilla stores everything, including images, videos, and documents, as blobs (Binary Large Objects) in the database, it swells up quite quickly. Mine, for example, has a size of 1.2 GB after 4 days. I have found two ways to solve the problem:

Administration - Page - scroll all the way down:

Set the period (in days) after which imported (from the network) content should expire

and

Do not let posts expire that have comments younger than this number of days

Content from other instances that your instance has not interacted with will be deleted after X days. I have set both values to 7 days.


Screenshoot aus dem Adminmenü

Außerdem kann man mit folgendem Befehl seine Datenbank optimieren:

You can also optimize your database with the following command:

mysqloptimize -A

Der Befehl ist ein praktisches Hilfsmittel, das alle Datenbanken deines MySQL‑Servers durchgeht und für jede Tabelle ein OPTIMIZE TABLE ausführt. Kurz gesagt:

Was passiert dabei?

Fragmentierte Daten‑ und Indexdateien werden neu angeordnet.

Nicht mehr genutzter Speicherplatz wird freigegeben.

Die Zugriffs‑Performance kann sich verbessern, weil die Daten jetzt kompakter liegen.

Warum ist das nützlich?

Wenn du häufig INSERT/UPDATE/DELETE‑Operationen hast, können Tabellen im Laufe der Zeit „ausgelutscht“ werden. Das Optimieren hilft, die Performance wieder zu stabilisieren. Es reduziert die Größe deiner Datenbank‑Dateien, was gerade bei begrenztem Speicher praktisch sein kann.

The command is a handy tool that goes through all the databases on your MySQL server and runs OPTIMIZE TABLE for each table. In short:

What happens?

Fragmented data and index files are reorganized.

Unused storage space is freed up.

Access performance may improve because the data is now more compact.

Why is this useful?

If you frequently perform INSERT/UPDATE/DELETE operations, tables can become “worn out” over time. Optimizing helps to stabilize performance again. It reduces the size of your database files, which can be useful, especially when memory is limited.


#Hubzilla #Datenbank #MySQL

Wenn man in Hubzilla mit einem Bild auf einen Kommentar antworten möchte muss man diese Option vorher noch aktivieren. Ich habe die Einstellung selber erst gefunden, als ich im Hubzilla-Hilfeforum nachgefragt hatte, Danke nochmal ^^ Zu finden ist sie unter Einstellungen - Privacy-Einstellungen - Enable OCAP access Danach kann man dann wie gewohnt im Editor auf das Bild-Icon klicken und ein Bild aus den eigenen Hubzilla-Dateien auswählen.

Translated with DeepL.com (free version)

If you want to reply to a comment with an image in Hubzilla, you have to activate this option first. I only found the setting myself when I asked about it in the Hubzilla help forum, thanks again ^^ You can find it under Settings - Privacy settings - Enable OCAP access After that, you can click on the image icon in the editor as usual and select an image from your own Hubzilla files.


Bildschirmfoto der Einstellung Enable OCAP-Access

#Hubzilla

I don't have any need or desire to use Facebook or Twitter. I don't need Nextcloud or MediaGoblin or Drupal or Diaspora or GNU-Social or Mastodon or Wordpress. I've got all of the features from those applications that I want - right now, without needing those applications.

I've got as much privacy as I want or need - up to top secret messages between top secret friends if I need that level of privacy. I can share photos from my photo albums and videos from my library with selected friends and only those selected friends.

I've got 16 years of my online life literally in my pocket. Everything I need to keep from my online life over those years. I can spin it up on any server in the world at any time and have all my friends and all my content intact if the datacenter serving my stuff gets hit by a nuclear warhead. I can spin it up right now and keep it all synced between servers as I add new content - and switch to another server at any time; for just a few minutes or a few years.

My server is my social network, even though I'm the only person with an account on it. My friends have their own servers and these all work together. It's my personal cloud and my file sharing app. If I allow you to see my videos you can see them. If I don't - you can't and there's nothing you can do about it. You don't need a password on my machine to do this. You just be yourself and do your own thing, and if you can see them you'll see them.

I don't see targeted ads. My dead friends don't recommend products for me to buy (this actually happened to me once on Facebook). I don't get spam from Twitter begging me to login and let them analyse me.

This is what we mean by "own your data"