No description
- Go 41.4%
- JavaScript 28.6%
- HTML 18.6%
- CSS 11.4%
| docs/superpowers | ||
| internal | ||
| web | ||
| .gitignore | ||
| go.mod | ||
| go.sum | ||
| main.go | ||
| README.md | ||
nordaaker/web
Web frontend for Nordaaker — a Nordic, calm DNS / hosting product. Speaks to knot-rest over HTTP.
Stack
- Go — single binary,
html/templateserver-rendered HTML. - htmx — for partial swaps and progressive enhancement.
- Plain CSS — tokens + components, no build pipeline.
- Self-hosted fonts — Manrope, Instrument Serif, JetBrains Mono (all OFL).
Running locally
Configuration
| Var | Purpose |
|---|---|
KNOT_REST_URL |
knot-rest base URL (live mode) |
KNOT_REST_TOKEN |
bearer token (live mode) |
KNOT_REST_FIXTURES |
path to fixtures dir (offline mode; wins if set) |
NORDAAKER_ADDR |
listen address (default :8080) |
Offline (fixtures)
KNOT_REST_FIXTURES=internal/knot/fixtures go run .
# → http://localhost:8080/zones
Live (against a knot-rest instance)
KNOT_REST_URL=https://dns.example/api \
KNOT_REST_TOKEN=… \
go run .
Layout
main.go — entrypoint
internal/server/ — HTTP handlers, routing
internal/knot/ — typed client for knot-rest
internal/knot/fixtures/ — offline JSON fixtures
web/templates/ — html/template files (layout + pages + fragments)
web/static/css/ — tokens.css + components.css
web/static/fonts/ — woff2 font files
web/static/img/ — logo + topo pattern
web/static/js/ — vendored htmx (HTMX_VERSION pins the build)
docs/superpowers/specs/ — design docs
docs/superpowers/plans/ — implementation plans
Design system
/design is the single page that defines tokens and components. It is the
authority — edits there propagate to every other surface. The original
Claude Design bundle is reference, not spec.