← Back to portfolio

2025 – present

This site — Go SSG & self-hosting

The site you are reading: a Go static-site generator, self-hosted on a retired OnePlus phone under Termux and Caddy — and the planned home for future services.

GoCaddyTermuxrsyncSSH

The whole site is generated by a small Go program that renders the CV and every project page into static HTML, with a sitemap and hreflang alternates. It is self-hosted on a retired OnePlus phone: a Termux session runs a Caddy reverse proxy that serves the built pages and terminates TLS with automatic HTTPS. The deployment pipeline is a single build script — run the generator, rsync the public folder and the Caddyfile over SSH, then reload Caddy. No VM, no cloud: just the phone, the network and Caddy.

Highlights

  • Go static-site generator: Go templates + trilingual content compiled to static HTML, sitemap and hreflang
  • Self-hosted on a retired OnePlus phone under Termux (Linux on Android)
  • Caddy reverse proxy with automatic HTTPS and security headers
  • Zero-cloud deployment pipeline: go run → rsync over SSH → caddy reload
  • Designed to host future self-hosted services on the same box

What I learned

  • Running a real web stack on mobile hardware (Termux)
  • Caddy, automatic HTTPS and reverse proxying
  • Designing a zero-dependency build and deploy pipeline