Tech Notes

Tech tips and new discoveries

claude-subscription-to-api - a small API in front of the Claude CLI

Notes on a small container I run at home, which gives HTTP access to the Claude CLI, so I can test API clients without an API key.

ProjectDockerHomelab
How to Upgrade PostgreSQL Without Losing Data

The three ways to upgrade a PostgreSQL major version: pg_dump, pg_upgrade, and logical replication, and the problems which each one has.

PostgreSQLLinuxDocker
UI APT Mirror - A containerized solution with UI

Notes on a containerized APT mirror I built for working offline: deb packages, an npm cache, and file hosting with a web UI.

LinuxDockerHomelab
Script for mass cloning docker images into self-hosted registry

A small shell script that copies many Docker images, with their tags, from Docker Hub into a self-hosted registry. It also has a regex filter to keep only the tags you want.

DockerHomelab