My homelab setup

Posted on 2023-12-29 in Software • Tagged with backup, caddy, debian, docker, free-software, homelab, linux, kodi, nextcloud, nginx, privacy, self-hosting

Welcome to my homelab!

If you don't know what a homelab is, it refers to running servers from your home. What is a server? It's basically a computer that is always on, connected to the network, often with no display or input. For a longer explanation take a look at …


Continue reading

Migrating to fish shell

Posted on 2023-12-07 in Software • Tagged with fish, shell, linux

I'm a heavy shell user. As a programmer I enjoy the power and flexibility of the shell, so I always keep multiple terminals open (just one keystroke away thanks to Yakuake).

I have been using Bash for as long as I have been a GNU/Linux user, that's 24 years …


Continue reading

Replacing Nginx with Caddy in Docker Compose

Posted on 2023-11-09 in Software • Tagged with caddy, docker, homelab, nginx

The main server in my homelab runs a bunch of services, but the heart of it is a Docker Compose configuration, several of them exposed to the Internet via a reverse proxy webserver.

Before I was using three Docker images to run Nginx, proxy traffic to other services and have …


Continue reading

Automating Python code quality

Posted on 2023-06-23 in Software • Tagged with programming, python, automation, howto, free-software

In this article I explain what I mean by code quality and how it benefits developers.

In the first half I discuss general concepts and workflows that apply to most software projects. Even if you are not writing Python code you might learn something from it.

In the second half …


Continue reading

Privacy-respecting self-hosted Web Analytics

Posted on 2022-05-27 in Software • Tagged with privacy, web, analytics, self-hosting

It all started with a desire: I wanted some basic analytics for this blog to know how it's doing, which articles are popular and which are the main referrers. But therein lied the conundrum: I am a privacy zealot, very much against extensive online tracking (just look at the browser …


Continue reading

Web browser add-ons I use

Posted on 2022-02-23 in Software • Tagged with firefox, web, addons, privacy, security, cryptocurrency

This article lists the web browser extensions I use and why. I will keep it updated from time to time.

I use Firefox as my main web browser, because despite its shortcomings I think it's still the best available option for me, for reasons that would be worthy of a …


Continue reading

Nextcloud CardDAV and CalDAV discovery with DNS records

Posted on 2022-02-17 in Software • Tagged with nextcloud, howto, self-hosting, dns

I use a self-hosted Nextcloud instance to hold a lot of my personal data, and that includes my contacts and calendars. Recently I had to reinstall DAVx5 on my phone, and I was surprised that the Nextcloud account was failing to be added.

The DAVx5 error logs showed that it …


Continue reading

Unlocking a LUKS-encrypted partition on boot with an USB drive

Posted on 2019-10-13 in Software • Tagged with linux, encryption, security, howto

The use case I wanted to solve was this: I have a headless server with a LUKS software-encrypted hard drive, and I want to be able to reboot it without having to input the password on a keyboard. The solution I implemented is to create a LUKS keyfile on a …


Continue reading