No description
  • Go 41.4%
  • JavaScript 28.6%
  • HTML 18.6%
  • CSS 11.4%
Find a file
2026-05-04 22:12:37 +02:00
docs/superpowers Auth flow — spec, plan, and implementation (#3) 2026-05-04 22:12:37 +02:00
internal Auth flow — spec, plan, and implementation (#3) 2026-05-04 22:12:37 +02:00
web Auth flow — spec, plan, and implementation (#3) 2026-05-04 22:12:37 +02:00
.gitignore Auth flow — spec, plan, and implementation (#3) 2026-05-04 22:12:37 +02:00
go.mod Auth flow — spec, plan, and implementation (#3) 2026-05-04 22:12:37 +02:00
go.sum Auth flow — spec, plan, and implementation (#3) 2026-05-04 22:12:37 +02:00
main.go Auth flow — spec, plan, and implementation (#3) 2026-05-04 22:12:37 +02:00
README.md Read-only zones prototype against knot-rest (#1) 2026-05-01 21:32:28 +02:00

nordaaker/web

Web frontend for Nordaaker — a Nordic, calm DNS / hosting product. Speaks to knot-rest over HTTP.

Stack

  • Go — single binary, html/template server-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.