social.dark-alexandr.net

sss friendica

Self-hosting my life

#foss #selfhosting

source: https://ecs.d2evs.net/posts/2020-05-22-Selfhosting.gmi

Self-hosting my life

Over the last few months, I've grown to despise the way most people now interact with computers. A typical person:


  • Uses Gmail for their email. Some folks may still some other megacorp email, but rarely will folks even use their own domain name.

  • Uses Google to search the web. Because we all know that Google can be trusted:


https://amp.dev
https://en.wikipedia.org/wiki/Dragonfly_(search_engine)
https://support.google.com/youtube/thread/19190975
https://en.wikipedia.org/wiki/Censorship_by_Google


  • Uses Discord, Skype, Zoom, and other proprietary chat programs.

  • Uses Spotify (or a competitor) for music.

  • Uses Netflix to watch movies and TV shows.

  • Uses Facebook, Twitter, or some competitor.

  • Uses Windows or macOS. Some people don't even have non-mobile devices.


You get the idea.

Each service we use that's operated by someone other than ourselves is another point of failure in our lives. Each of these corporations is handling staggeringly large amounts of personal data. When (not if) these companies go belly-up, they inevitably will take peoples' online lives with them. I think it's clear to see that these are horrible companies, to be avoided at all cost. But what's the alternative?

Enter FOSS[0]. Over the past 30ish years, millions of man-hours have been put into creating an ecosystem of open-source[1] tools. It's feasible to run a daily-driver computer with 100% free software. But why stop there? There are open-source self-hostable solutions for practically all of these.

A quick overview, only including what I was able to set up within 20
days:


  • Postfix/Dovecot for email, as well as alps webmail

  • The Lounge for some the non-techies, and a normal IRC bouncer for myself

  • I'm actually quite happy with a combination of mpd and mpv, though I'm considering setting up FunkWhale

  • A Pleroma instance

  • Finally, this blog


alps webmail

Surprisingly enough, the last one took the most time, since I opted to use wersh instead of a more "normal" framework. I'm rather proud of where I ended up, check out the code if you're curious!

wersh
This site's source code

While setting these up took some time, it's a fixed time-sink, with a low maintenance cost. If you'd like to migrate off of any of these services but don't have the technical experience, send me an email at ecs@d2evs.net!

[0]: Free and Open-Source Software. Loosely, this is where programmers make the secret sauce that powers their programs tick publicly available. Even better, they take contributions!
[1]: I use the terms "FOSS", "free software", and "open-source" interchangeably. Some people don't, and that's a topic for another day.
Iron Bug friendica (via ActivityPub)
I still haven't solved the general problem with media storing and streaming. I'm not optimistic about storing huge files on server just because I had seen tens of cases of weird bots that create load on servers by downloading them in cycle. I have not idea why. just a fact. and I don't trust JS: it contains too many potential back-doors and vulnerabilities, which they permanently discover. so I keep away of using FunkWhale for a while. I'm not so bold to run potentially dangerous code on server. I want something optimized, safe and with potential bots blocking for media. but haven't seen such software.
Iron Bug friendica (via ActivityPub)
ah, I mistook FunkWhale with PeerTube. it's PeerTube written in JS. but FunkWhale is even worse: that's python. so, this is not a variant for my taste.