Add Technical Kiwi website with Go, templ, and HTMX.

Single-page site with gallery by album and event, contact form over SMTP,
Docker dev/prod setup, and on-server image derivatives. Gallery photos stay
local (app/images/ is gitignored).

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-05-25 23:57:59 +12:00
parent c21be097b0
commit 509e7ccb43
33 changed files with 2635 additions and 1 deletions

20
.env.example Normal file
View File

@@ -0,0 +1,20 @@
# SMTP relay for the contact form (all three required to enable the form)
SMTP_HOST=smtp.example.com
SMTP_PORT=587
SMTP_USER=
SMTP_PASSWORD=
SMTP_FROM=website@technical.kiwi
SMTP_TO=hello@technical.kiwi
# TLS mode: auto (STARTTLS on 587), tls (465), plain (25/local relay)
SMTP_TLS=auto
# HTTP listen address
ADDR=:8080
# Homepage hero (path under app/images/)
HERO_IMAGE=connectionmachine/20220723_231556.jpg
# Host Go caches mounted into the dev container (make sets ~/go/pkg/mod and ~/.cache/go-build if unset)
# GOMODCACHE=/home/you/go/pkg/mod
# GOCACHE=/home/you/.cache/go-build