self-hosted

avatarify

Avatarify is a cool project that lets you create a relatively realistic avatar that you can use during video meetings. It works by creating a fake video input device and passing your video input through a neural network in PyTorch. My laptop doesn’t have a GPU, so I used the server/client setup. setting up the server Be sure you’ve installed the Nvidia Docker runtime so that the Docker container can use the GPU.
Read more

hosting my own web services

I host several services on an Alienware gaming computer I keep at my apartment. (We call it the spaceship.) I originally got the computer so I could have a computer with a GPU for machine learning projects, but I’ve since started using this computer to host a bunch of different services. Here I’ve documented how I set up the server. operating system To keep things simple I use Ubuntu 20.04 LTS.
Read more

Jupyter Lab Hub in Docker with Nvidia GPU support

This is how I set up my headless home server with a Jupyter Lab Docker container with an Nvidia GPU runtime. First, check here (replacing the CUDA version in the URL with your own) to see which Nvidia drivers you need for the CUDA toolkit version you want. I’m using CUDA 11.4.2, which means I need at least driver version 470. sudo add-apt-repository ppa:graphics-drivers/ppa # sudo apt purge nvidia-* # if you have an older driver version installed sudo apt install nvidia-headless-470 nvidia-utils-470 sudo reboot Now do the following to install the Nvidia container runtime.
Read more

Minecraft in Docker with SpigotMC

SpigotMC is a reimplementation of Minecraft with some optimizations and the ability to run mods. I choose to use it because there’s a Docker image that makes it easy to host. This guide shows how to host multiple Minecraft servers on a single machine. mkdir minecraft_server cd minecraft_server mkdir data/{server,spigot} wget https://kylrth.com/post/minecraft/docker-compose.yml \ -O docker-compose.yml If you’re moving from a Spigot world, just copy the world/ directory to data/server/world. If you’re moving from a vanilla Minecraft world, do the following to get the different world directories in the right position:
Read more

Matrix setup with Synapse, Postgres, Maubot, and matrix-registration

This is how I set up my own Matrix server on a Raspberry Pi with Docker. Unfortunately, the Matrix community has stopped releasing ARM images, so the latest version that will work on ARM is v1.26.0. The instructions will work the same for x86_64 systems, except you’ll be able to use the default x86_64 images in the docker-compose file. This installation comes with Maubot and matrix-registration containers too. If you don’t want to use those features, leave out those sections of the docker-compose config and don’t follow the instructions in the corresponding sections.
Read more