No description
  • Go 80.6%
  • templ 6.1%
  • TypeScript 5.3%
  • Shell 4.7%
  • HTML 1.8%
  • Other 1.4%
Find a file
Colja Vendel eb282bbaa2
All checks were successful
ci / gates (push) Successful in 14m28s
deploy / build-push-deploy (push) Successful in 6m19s
docs(21-review): record WR-01..04 fixes
Each warning gets a dated status line naming its RED and GREEN commits.
Info findings IN-01..IN-05 are unchanged (out of scope).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-01 09:39:19 +01:00
.bridge chore(bridge): add peer forgejo-gitlab-proxy (agent-bridge request, xi2ix#15 c4641) 2026-11-28 02:38:41 +01:00
.forgejo/workflows feat(19-02): DB-side privacy gates — parity, launch, brand/assumed, D-15 contact row 2026-10-23 04:05:19 +02:00
.planning docs(21-review): record WR-01..04 fixes 2026-12-01 09:39:19 +01:00
.toolchain chore(261002-jch): project-local kubeseal 0.40.0 + controller public cert 2026-10-02 13:56:54 +02:00
assets fix(11): stop Tailwind scanning the whole project, incl. untracked planning docs 2026-08-17 12:31:58 +02:00
cmd fix(19): WR-01 test the privacy reader wiring through newAppHandler 2026-10-23 10:15:31 +02:00
compliance docs(19-07): retarget privacy citations to the content rows, en.toml:133 HISTORICAL 2026-10-23 04:56:57 +02:00
db/queries feat(19-02): ListPageContent — scoped public read of page copy 2026-10-23 03:57:40 +02:00
deploy docs(19-07): render-path decision against T-03-XSS; I18N-09 count 44 -> 45 2026-10-23 04:57:22 +02:00
e2e test(21-06): demand approved DE/HR privacy copy as served (RED) 2026-12-01 01:10:41 +01:00
internal fix(21-review): WR-04 generator write mode ends with Fatalf, never PASS 2026-12-01 09:35:58 +01:00
migrations feat(21-07): migration 00017 — DE/HR privacy rows final (operator-approved) 2026-12-01 01:24:20 +01:00
scripts docs(18-04): retarget citations of the removed scan form 2026-10-17 20:08:33 +02:00
.dockerignore feat(07-04): multi-stage distroless Dockerfile + .dockerignore 2026-06-26 15:34:57 +02:00
.env.example feat(16-02): GREEN — config fields, package publish, shared infra predicate 2026-10-08 03:28:51 +02:00
.gitignore feat(14-02): implement internal/buildinfo link-time identity 2026-09-15 14:30:59 +02:00
CLAUDE.md docs: record bridge reply duty (operator directive 2026-11-22, xi2ix#15 c3969) 2026-11-22 11:11:09 +01:00
docker-compose.yml feat(01-01): scaffold Go module, tooling, bootstrap SQL, and Docker guard 2026-06-19 14:10:27 +02:00
Dockerfile feat(14-02): stamp build identity in the image and pass CI build args 2026-09-15 14:32:49 +02:00
go.mod feat(12-04): GREEN — counselpdf.Render over an embedded IBM Plex Sans TTF 2026-08-19 15:43:00 +02:00
go.sum feat(12-04): GREEN — counselpdf.Render over an embedded IBM Plex Sans TTF 2026-08-19 15:43:00 +02:00
Makefile test(16-01): closed-site harness — two closed apps, two Playwright projects, the preview helper, Make target 2026-10-08 03:14:30 +02:00
migrations.go feat(01-02): migrations, pgxpool, goose bridge, testcontainers helper 2026-06-19 14:19:02 +02:00
README.md docs(15-06): living documents and example env name manemus d.o.o.; Pazin is the court, Buzet the seat 2026-10-06 11:38:24 +02:00
sqlc.yaml feat(01-01): scaffold Go module, tooling, bootstrap SQL, and Docker guard 2026-06-19 14:10:27 +02:00

xi2ix.com

The corporate website for xi2ix, the consulting brand of manemus d.o.o., a Croatia-based company founded by Colja Vendel. The site is trilingual — English (primary), German, Croatian — and is engineered first and foremost to radiate unconditional, immediate trust: a "digital business card" built to withstand KYC/due-diligence scrutiny from Croatian banks, authorities, and partners. Its design register is Hanseatic Minimalist — deep blues, slate, generous whitespace, quiet confidence — deliberately free of startup hype or buzzword bingo. The site's centerpiece is Ix, a self-hosted, fact-grounded AI conversational assistant. Ix is not a generic chatbot: it draws out who a visitor is and what they need, is guardrailed to never fabricate company facts, and closes by proposing a warm, pre-drafted handoff to the founder.

Live at xi2ix.com, xi2ix.de, xi2ix.at, and xi2ix.ch (apex + www on each), all served from the same deployment with per-domain locale defaults and valid Let's Encrypt certificates.

Tech stack

  • Go (module xi2ix.com/website, go 1.26) + templ + htmx/SSE — server-rendered, minimal-JS frontend
  • stdlib net/http ServeMux — HTTP routing via Go 1.22+ method-aware patterns and r.PathValue; no third-party router or framework
  • PostgreSQL + pgvector — relational data and AI-grounding retrieval (existing k3s cluster in production; a local Podman container in dev)
  • Ollama, self-hosted — runs the Ix LLM; no external AI API (data sovereignty)
  • go-i18n/v2 — EN/DE/HR translation catalogs
  • Playwright — GUI acceptance tests

See CLAUDE.md for the full stack rationale, version pins, and engineering conventions.

Dev quickstart

Go is installed project-locally — there is no system-wide Go on this project.

# One-time (fresh clone only): download + SHA256-verify the pinned Go toolchain
./.toolchain/install.sh

# Every shell session: activate the project-local toolchain
source .toolchain/env.sh

Containers run on rootless Podman (no Docker daemon). One-time host setup:

systemctl --user enable --now podman.socket

Copy the environment template and fill in the values your local run needs (at minimum OLLAMA_HOST, FORM_SECRET, POSTGRES_PASSWORD, XI2IX_APP_DB_PASSWORD — see the comments in the file for the rest):

cp .env.example .env

Bring up the dev environment and start the server:

make dev-up          # starts Postgres+pgvector, waits for it, bootstraps the
                      # DB role/extension, builds frontend assets (templ + CSS)
go run ./cmd/server   # applies goose migrations at boot, then serves

make dev-up followed by go run ./cmd/server is the documented first-run sequence — make migrate is not part of normal dev flow (the server migrates itself at boot).

Run the tests:

make test              # fast unit tests, no containers required
make test-integration  # full suite, including testcontainers (needs the Podman socket)
make e2e                # Playwright acceptance tests

Repo layout

Path What's there
assets/ Fonts, CSS, and JS — including vendored htmx + htmx-ext-sse and ix.js
cmd/server The main binary: boots, runs migrations, serves the site
cmd/ingest Read-only corpus provenance/validation CLI (no DB/network access)
compliance/ GDPR/DSA/EAA scope memos, breach runbook, retention schedule, DSAR procedure
db/queries Hand-written SQL used to generate type-safe query code (sqlc)
deploy/ Helm chart (deploy/chart), cluster manifests (deploy/cluster), and the deploy/handoff docs (see Deployment below)
e2e/ Playwright TypeScript project — specs, fixtures, playwright.config.ts
internal/ The Go application itself: admin, antispam, brandterms, config, contact, corpus, db, email, i18n, ix (the Ix assistant — conversation, guardrails, SSE handler, handoff), ollama (the Ollama client), pages, repo, routes, server, testsupport, views (templ components)
migrations/ Goose SQL migrations
scripts/ bootstrap.sql, restore-drill.sh, secrets-scan.sh, xss-ssti-scan.sh

Deployment

Deployment is documented separately from this README, with clear ownership boundaries between this project and the surrounding infrastructure ("Umgebungsmanagement"). Start with deploy/RUNBOOK-deploy.md for the deploy procedure itself, and deploy/ENVIRONMENT-HANDOFF.md for the checklist of what a third-party environment owner needs to supply (kubeconfig, DSN, certificate) versus what this project never needs to know (cluster identity, cert/key location, DB topology).

Further reading

  • CLAUDE.md — full engineering conventions, stack rationale, and the AI-assistant-facing workflow rules for this repo.
  • .planning/ — GSD project history and planning artifacts: .planning/STATE.md (current status), .planning/PROJECT.md (requirements/context), .planning/ROADMAP.md (phase roadmap), plus .planning/phases/ and .planning/quick/ for the underlying planning documents.