# CLAUDE.md This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository. ## Commands **Build and run (Docker):** ```bash cp .env.example .env # first time only docker compose up -d --build ``` UI available at `http://127.0.0.1:8094/` **Run locally without Docker:** ```bash pip install -r requirements.txt API_BASE=http://... OLLAMA_BASE_URL=http://... DB_PATH=./ui.db uvicorn app:app --host 0.0.0.0 --port 8094 --reload ``` **Publish container:** ```bash docker build -t registry.aquantico.lan/claw/diarization-ui:latest . docker push registry.aquantico.lan/claw/diarization-ui:latest ``` There are no tests and no linter configured. ## Architecture The entire application lives in a single file: `app.py` (~1550 lines). There are no templates, no separate frontend build, and no additional modules. ### Request handling All routes are FastAPI endpoints. HTML is returned as server-rendered Python f-strings using Bootstrap 5.3 (CDN) for layout. Inline `