Interactive SSH business card for czpl.dev, built with Wish and Bubble Tea.
- Go 1.24+
- An SSH host key at
./data/key(generate one if needed):
mkdir -p data
ssh-keygen -t ed25519 -f data/key -N ""From the repo root:
go run .- SSH TUI:
ssh -p 23234 localhost - Static site: http://localhost:8080
Local defaults use ./data/key, ./static, SSH port 23234, and HTTP port 8080 (no sudo required).
Override any setting with environment variables:
HTTP_PORT=3000 SSH_PORT=2222 go run .Deploy:
fly deployConnect:
ssh czpl.devProduction paths and ports are set in fly.toml:
| Variable | Value |
|---|---|
HOST_KEY_PATH |
/data/key (Fly volume) |
STATIC_DIR |
/static |
HTTP_PORT |
80 |
main.go entry point
server.go HTTP + SSH servers
config.go env-based configuration
model.go TUI model and menu content
view.go TUI rendering
static/ landing page assets
data/ local SSH host key (private key gitignored)