8000 charlestephen (Charles Stephen Thompson) · GitHub
[go: up one dir, main page]

Skip to content
View charlestephen's full-sized avatar

Block or report charlestephen

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logg E3D0 ed in to block users.

Content in all repositories owned by your account will be closed.
Maximum 250 characters. Please don’t include any personal information such as legal names or email addresses. This note will only be visible to you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
charlestephen/README.md

Charles Stephen Thompson

Infrastructure and automation engineer in Brooklyn, NY. I run DNS, identity and databases, and I script anything I have to do twice.

cst.nyc · blog.cst.nyc

Open to infrastructure, platform and automation engineering roles. The best way to reach me is through cst.nyc.

What I work on

DNS that stays up. A Technitium DNS cluster: DNSSEC-signed zones and a validating resolver, encrypted DNS (DoT, DoH and DoQ), a dnsdist and keepalived front end with a floating address, zones replicated between nodes with catalog zones, and a blocklist of well over a million entries that the gateway enforces by blocking or redirecting DNS to any other resolver. Certificates come from a flow built on ACME DNS-01 over RFC 2136 with scoped TSIG keys, so no client can write to the cluster directly. Both nodes are up, with an offline root.

Databases for log-scale data. PostgreSQL and TimescaleDB for high-volume syslog and DNS query logs: hypertables with chunk-drop retention instead of batch deletes, connection pooling with PgBouncer, and a PostgreSQL 18 image with TimescaleDB, pgvector and pgvectorscale that rebuilds daily. I have also run Patroni with etcd, synchronous replication and automatic failover, and have since simplified that setup.

Identity. A decade of enterprise IAM and SSO (Active Directory, Okta, Google, SAML) before this, and I still build on it: OIDC and PKCE single sign-on across my own services.

Automation. Hosts are configured with Ansible (roles that are tested by converging them twice in a container), services run as Podman Quadlet units, and secrets stay out of git. CI rebuilds images when an upstream project releases.

Selected projects

Project What it is
technitium-dns-multi One container that bundles Technitium, dnsdist (DoT, DoH and DoQ, with the PROXY protocol so Technitium sees real client addresses), keepalived, acme.sh and PgBouncer, each switched on by an environment variable. Multi-arch images on GHCR and Docker Hub, released automatically.
old-homelab One-shot installers that rebuild a home lab from a single zip on a clean Debian install: a high-availability DNS pair, a core services host, a public edge host with Traefik, CrowdSec and geoblocking, and an application host. Services are Podman Quadlet units that podlet generates from podman run lines, secrets are Podman secrets, and the Traefik API always requires a login. Checked with dry runs, generated-unit validation and live containers.
dns-ip-list-chunker A Go service that merges and deduplicates DNS and IP blocklists and serves them in sizes routers accept. After profiling, a full refresh of 26 real lists (1.8 million entries) dropped from about 14 s to about 2 s, and a refresh with nothing changed does no work. Output was verified identical.
hassio-apps 37 Home Assistant add-ons for infrastructure tools, including Traefik, Forgejo, PostgreSQL, PgBouncer and Technitium. Built for arm64 and amd64, with upstream version tracking, CodeQL, Trivy, hadolint and commit-pinned actions.
pgVectorScaleDB A PostgreSQL 18 image with TimescaleDB, pgvector, pgvectorscale and system_stats. A daily workflow refreshes the pinned versions and publishes.
unifi-geoip-blocklist-updater A Go container that keeps GeoIP blocklists in UniFi firewall rules current.

I also maintain Homebridge plugins: homebridge-frigidaire-connected-ac (with a dependency-free TypeScript client for the Frigidaire cloud API) and homebridge-git-backup.

How I work

  • Measure, then change. I profile before I rewrite, and I compare output before and after so a faster version is not a different one.
  • Test the real thing. Where I can, I test against the actual servers and containers rather than mocks of them.
  • Keep secrets out of git. Code, values and secrets are separate layers, with secret scanning on commit.
  • Pin and verify. Actions are pinned to commit SHAs, dependencies are updated by Renovate, and my commits are signed with a hardware key.
  • Write down the limits. My READMEs say what a project does not do.

Stack

Go · Python · Bash · TypeScript · PostgreSQL · TimescaleDB · Technitium · dnsdist · keepalived · Traefik · CrowdSec · Podman · Ansible · Home Assistant · n8n · UniFi · Forgejo and GitHub Actions

Pinned Loading

  1. hassio-apps hassio-apps Public

    Home Assistant add-ons for self-hosted infrastructure: Traefik, Forgejo, PostgreSQL, PgBouncer, Technitium and more. Multi-arch images with automated upstream version tracking.

    Shell 1

  2. dns-ip-list-chunker dns-ip-list-chunker Public

    Merges and deduplicates DNS and IP blocklists and serves them in chunks sized for routers and DNS servers such as UniFi and Technitium. Go, single container.

    Go 1

  3. hassio-otbr-matter-container hassio-otbr-matter-container Public

    Multi-arch OTBR + compose stack: stock Home Assistant Container, OpenThread Border Router, and Matter Server (ConBee II Thread RCP ready).

    Shell 1

  4. homebridge-frigidaire-connected-ac homebridge-frigidaire-connected-ac Public

    Homebridge plugin for Frigidaire WiFi (Connected) air conditioners, with a dependency-free TypeScript client for the Frigidaire cloud API.

    TypeScript 1

  5. old-homelab old-homelab Public

    Snapshot of my Old Homelab Build which was stored on an internal git repo before said repo's server crashed.

    Shell 1

  6. technitium-dns-multi technitium-dns-multi Public

    One container with Technitium DNS Server, dnsdist (DoT, DoH, DoQ), keepalived, acme.sh and PgBouncer for a highly available, multi-node DNS cluster.

    Shell 1

0