Source to my personal site:
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

50 lines
6.1 KiB

<!DOCTYPE html>
<html lang="en">
<title>Some self-hosting updates</title>
<link rel='stylesheet' type='text/css' href='../style.css'>
<meta charset='utf-8'/>
<h1>Some self-hosting updates</h1>
<p class='date'>Tue, 12 Oct 2021 20:01:10 +0400</p>
<p>I've been working the last few weeks on some additions to my self-hosting cabal of software; I'm happy to present these changes in today's post.</p>
<h2>XMPP Server!</h2>
<p>This is old news, but <b>I have an XMPP server! (</b> I'm <a href="">there</a> and, in addition to having some public multi-user chats, these chats are <b>bridged over to the Matrix and Discord</b> thanks to Matterbridge. Here are the chats:</p>
<li><a href="">Generalic Chat</a>, the classic, no-topic discussion channel,</li>
<li><a href="">Tech Support</a>, an excellent (terrible) place to ask for help with computers,</li>
<li>and finally, <a href="">Bloated Meme Chat</a>, where all the <b>spiciest memes 🌶 🌶</b> are posted.</li>
<p>The XMPP server is <b>open to registrations,</b> so if you've been meaning to try out XMPP, here's your chance to get an account through in-band registration. <b>Just make sure to encrypt your messages, or I'll spy on your Catholic conversations with your girlfriend!</b></p>
<p>But with this XMPP announcement out of the way, it's time for some long overdue ranting...</p>
<h2>Special: Rant-of-the-week</h2>
<p><b>It's absolutely no secret that I love self-hosting.</b> But something that has been bothering me for a while about the modern self-hosting world is people's obsessions with <i>over-complicating everything.</i> At first I just thought I was stupid, and I didn't have the knowledge or <b>Reddit karma from my intellectual®® and quaint takes from r/atheism,</b> but soon I realized that what a lot of people wanted to replicate with their homeserver or VPS was a <i>similar experience to existing, centralized services ran by tech monopolies.</i></p>
<h2>Uhm, you do know you're free now, right?</h2>
<p>The first thing I thought when I leaned more about self-hosting wasn't <i>"hm, how will I build my own Google?"</i>, it was more along the lines of <i>"how often will I actually have to use this thing?"</i>. Setting up alternatives to <b>social media, web password managers, web cloud storage, collaborative document editing</b> and other Silicon Valley-esque products wasn't as interesting to me as exploring the completely new and fascinating world of <b>setting up a personal website, email server and federated chat server.</b> While I still did try to use bloated web "apps" like Nextcloud, I soon realized these were very overkill for any kind of cloud storage I needed and I simply stuck to using Syncthing and Rsync. <i>Self-hosting isn't about replacing everything you already had with self-hosted versions, it's about changing the way one looks at their internet and bandwidth usage.</i> Not to mention that software like Nextcloud has essentially become a corporate product. Yes, it's still "free/libre software", but it's so incredibly slow and painful to setup as an individual, which is a <b>very common characteristic</b> of business/corporate software.</p>
<p>More to the point, when I say <i>"changing the way one looks at their internet and bandwidth usage"</i>, I mean coming to the realization that so many of the things people tend to use the web for nowadays (document editing, password storage, even web chat clients) can be done locally on your machine. In some sense, <b>running something on a server is only done when that thing was made for a server-client paradigm.</b> This is why I'm not so favorable towards these distributed/"web3" crypto networks that would let all clients act as servers. <b>A chat server should not be distributed among various clients!</b> However, things like using a local password manager and writing documents locally on your computers are no-nonsense basics that I would expect people to be doing. <b>New self-hosters want to re-build the cage built by Google and Microsoft with their homeserver,</b> when realistically you don't need any server to have a similar (or better) experience.</p>
<h2>Complexity of Server software</h2>
<p>This is where stuff gets spicier. <b>The Matrix "Synapse" server software is bloated.</b> Sure, Matrix-org has an upcoming "next-gen" homeserver named <a href="">"Dendrite"</a> which is more efficient and written in Go, but this doesn't solve the inherit issue that <i>it takes a corporation to write a server software nowadays.</i> The Matrix protocol is very complex and unorthodox, which means that independent developers looking to develop a server software for it are looking at a large amount of work and testing. Also, the Matrix spec is constantly undergoing changes and new additions, which means most homeservers will likely run the de-facto "official" server software (matrix-synapse) which is a <b>bloated, python mess.</b></p>
<h2>XMPP to the Rescue!(?)</h2>
<p>XMPP by contrast is another decentralized chat protocol that is far simpler to write for due to its straight-forward usage of XML files. I know lots of prominent Linux YouTubers have promoted it as an alternative to Matrix, so I'll make something perfectly clear: <b>XMPP. Is. Not. Matrix.</b> Matrix is a fundamentally different (and admittedly overly complex) protocol that has very different defaults than XMPP. While both protocols are highly extensible, I think it'd be unlikely to see XMPP reach the usability and feature list of something like Discord, at least not outside of closed, single-server deployments.</p>
<p>In summary, <b>XMPP is better than Matrix for those who are worried about the long-term sustainability and future of such a complex protocol (Matrix) and wish for a more "universal" and KISS-like standard (XMPP)</b></p>
<footer>by <strong><a href=''>Denshi</a> <a href=" self-hosting updates">(Reply-to)</a></strong></footer>