Mass delete repos from Forgejo, Gitea, or Codeberg
A simple bash script to delete select repos from Forgejo/Codeberg using the API
Bluesky PDS with Podman on CentOS Stream 10
This is based on the following documentation from the official Bluesky GitHub:
Get the latest release from a GitHub repo
The following is a collection of ways to get the latest release of a program from its GitHub repository, using the command line. The example repositories used below can be replaced with any repository hosted on GitHub.
Create an RPM repository
Now generate the key with the following command:
Install Cgit with Caddy
Install caddy-cgi.
Install Chimera Linux
Use cfdisk to create the following partition layout.
Debian with LUKS2 Btrfs and GRUB via Debootstrap
Source: https://gist.github.com/meeas/b574e4bede396783b1898c90afa20a30
Setup a thick VNET jail for torrenting on FreeBSD
Create the bridge.
Self-hosted container registry with web UI
Source: https://github.com/Joxit/docker-registry-ui
Using Codeberg, Gitea, or Forgejo as OIDC provider for Tailscale
In the web root of your web server, create the .well-known/webfinger file. For example, on mine, I have the following:
Network-wide bullshit-blocking setup with Blocky and Tailscale
I will use an Orange Pi 5 Plus, but any device, including single board computers, should work, as long as they can run the latest stable Debian or Armbian release.
Home networking and preventing DNS leaks
I'm thinking of getting my OPNsense device back up again. At my previous place of residence, I had AT&T internet, and AT&T had all sorts of configurable options in their modem that played well with my OPNsense device. At my current place of residence, I have Xfinity Comcast, and the only option I can configure on their modem that would allow me to use my OPNsense device is "Enable/disable bridge mode". When I first moved in here, I tried doing that, but for some reason the IPv4 gateway on my OPNsense device wasn't picking up anything. I believe I had everything configured correctly, the Xfinity modem was in Bridge mode, and the OPNsense router was assigned the public IP address from my Xfinity account. This was four months ago, and it's very likely I missed something in the configuration, so it can't hurt to try again. The worst-case scenario is that I reset my Xfinity modem to factory defaults and continue to use that. But it would sure be nice if I could have more control over that portion of my internet.
Setting up Restic with rest-server
I recently decided to start using my own home server to store my dotfiles. The main reasons are simplicity, privacy, and security. I previously stored them in a repository on my GitHub account and installed them with Ansible, but I have increasingly found it cumbersome when trying to keep them updated and in sync. On GitHub, the changes (and mistakes!) I make to my dotfiles are publicly viewable; sometimes I'll make changes several times a day, sometimes scrapping a change entirely when I later realize it was not such a good idea or breaks something in my activity flow. I also would love the convenience of keeping SSH keys and GPG keychains in sync and updated, and storing them on a public server is obviously not an option, nor even in a private repository hosted on GitHub or GitLab.