UI reference
Every screen on the compiled site (llmwiki build → site/), what it
shows, and how to reach it. Screens are what llmwiki serve exposes on
http://127.0.0.1:8765/.
Top navigation
Every page in the site carries the same header nav. Keyboard: ⌘K
opens the command palette from any page.
| # | Label | URL | Surfaces |
|---|---|---|---|
| 1 | Home | /index.html |
project grid, activity heatmap, token stats, recently updated |
| 2 | Projects | /projects/index.html |
filterable card grid of every project + freshness badge |
| 3 | Sessions | /sessions/index.html |
sortable table of every session, agent badge, project, model, tool-call count |
| 4 | Models | /models/index.html |
structured model-profile cards (provider, pricing, benchmarks) |
| 5 | Compare | /vs/index.html |
auto-generated vs-pages between AI models |
| 6 | Graph | /graph.html |
interactive force-directed knowledge graph (vis-network) |
| 7 | Docs | /docs/index.html |
editorial docs hub — tutorials, references, deployment guides |
| 8 | Prototypes | /prototypes/index.html |
review-ready UI states (page-shell, article-anatomy, …) for UX iteration |
| 9 | Changelog | /changelog.html |
Keep-a-Changelog view of CHANGELOG.md |
| — | Search | ⌘K |
fuzzy-match command palette over the whole corpus |
| — | Theme toggle | button on the right | light / dark (persists via localStorage.theme) |
Mobile: the six middle links collapse into a bottom-nav below 768 px; Search + Theme stay in the top bar.
Home
URL: /index.html
Sections top-to-bottom:
- Hero — "LLM Wiki" wordmark + one-line tagline.
- 365-day activity heatmap — GitHub-style cells. Each cell = one day; darker green = more sessions. Hover for date + count.
- Stats strip —
N main sessions · N sub-agent runs · N projectsand token totals (sum+avg per session). - Project highlights — cards for best-cache-hit and heaviest-token project.
- Projects grid — one card per project with a freshness badge (green / yellow / red) based on last-touched date.
- Recently updated — last 30 days.
What's clickable: every project card, every heatmap cell (filters the sessions index to that date), every link in the stats strip.
Projects index
URL: /projects/index.html
Grid view of every project. Each card shows:
- Project name + slug
- Session count (main + sub-agent)
- Token total for the project
- Freshness badge (days since last session)
- Topic chips (from frontmatter
topics: []) - Agent badges (Claude / Codex / Copilot / Cursor / Gemini)
Clicking a card navigates to /projects/<slug>.html — the project
detail page.
Project detail (/projects/<slug>.html)
- Project summary (auto-synthesised from sessions)
- Sorted session table (date desc)
- Per-project activity heatmap
- Linked entities + concepts that appear across sessions
- Tool-call distribution bar chart
Sessions index
URL: /sessions/index.html
Sortable table across every project. Default sort: date desc.
Columns: Project · Slug · Date · Model · User msgs · Tool calls · Agent badge.
Filter bar at top: free-text across project/slug/model, plus agent-badge filter chips (click an agent to narrow).
Clicking a row navigates to /sessions/<project>/<slug>.html.
Session detail (/sessions/<project>/<slug>.html)
- Frontmatter block — model, date, token counts, tool-call summary
- Summary — auto-synthesised 2–4 sentence abstract
- Key claims — bullet list
- Key quotes — blockquote pulls
- Conversation — full transcript, tool outputs collapsible (auto- expand on long blocks)
- Connections —
[[wikilinks]]out to entities, concepts, related sessions - Related — top-3 similarity matches (from heading/body n-gram)
- Sibling files —
.txt+.jsonsibling URLs for AI-agent consumption
Models + Compare
URLs: /models/index.html, /vs/index.html
Models: structured info cards for each AI model (per
llmwiki/schema.py :: ModelProfile):
- Provider · release date · license
- Context window · max output
- Modalities (text / vision / audio)
- Pricing per 1 M tokens (input, cached_input, cache_write, output)
- Benchmark scores (GPQA Diamond, SWE-bench, MMLU, LiveCodeBench, etc.)
Compare: auto-generated pairwise comparison pages
(/vs/claude-sonnet-4-6-vs-gpt-5.html, etc.). One row per shared
field, winner highlighted.
Graph
URL: /graph.html
Interactive force-directed knowledge graph. Details in
reference/reader-api.md under the graph section.
What works:
- Pan / zoom (mouse / trackpad)
- Click a node → opens the wiki page in a new tab
- Search input in the top-right → highlights matching nodes, dims the rest
- Orphan highlighting — nodes with zero inbound links get a red border
- Cluster toggle — group nodes by type (sources / entities / concepts / syntheses)
- Stats overlay (bottom-right) — total pages, edges, orphans, avg connections, top-5 hubs
- Dark / light theme mirrors the main site
Offline fallback: if the vis-network CDN can't load, the viewer shows an inline notice instead of a blank screen.
Docs hub
URL: /docs/index.html
The editorial entry point — you're reading a page compiled from the
same pipeline. Covered in detail by
tutorials/01-installation.md
onward. See also style-guide.md.
Prototypes hub
URL: /prototypes/index.html
Review-ready UI states for UX iteration before larger UI changes touch the live templates. Six states:
| Slug | What's shown |
|---|---|
page-shell |
layout skeleton — nav + footer + breadcrumb, empty content slot |
article-anatomy |
annotated session page with orange callouts on every slot (frontmatter, summary, transcript, connections, related) |
drawer-browse |
faceted project-browse drawer open (by project / entity_type / lifecycle / cache_tier) |
search-results |
command palette mid-query, 10+ results |
empty-search |
no-match state with escape-hatch links |
references-rail |
article with sticky right-hand ## Connections rail |
Every prototype carries a 4 px #7C3AED top stripe and a
"Prototype — not a live page" meta block so reviewers never confuse
them with real pages.
Changelog
URL: /changelog.html
Compiled view of CHANGELOG.md. Keep-a-Changelog format with colored
headings for Added / Changed / Fixed / Deprecated / Removed /
Security. Auto-linked PR references (#265 → GitHub PR link).
Command palette (⌘K)
Press ⌘K (or Ctrl+K on Linux/Windows) from any page.
- Fuzzy match over every page title + body.
- Top result on Enter navigates.
- Shows facet chips:
Project,Entity type,Lifecycle,Confidence,Tags— click a facet to filter. - Footer shows the current mode (
flat/tree) fromsearch-index.json._modeand the deep-page ratio (seereference/cache-tiers.mdfor the tree-mode heuristic). - Keyboard:
↑ / ↓navigate,Enteropen,Escclose.
Search index + chunks
Two levels:
site/search-index.json— ~7 KB meta index + chunk manifest + facet counts + mode badge.site/search-chunks/<project>.json— per-project session entries withtitle,url,type,project,date,model,body,heading_max_depth,heading_count_by_depth.
The palette lazy-loads chunks as the query narrows. See
reference/reader-api.md for the stable shape.
AI-consumable exports
Every HTML page has two sibling files at the same URL:
<page>.txt— plain-text body (no HTML tags), first-line frontmatter<page>.json— full structured body + metadata + outbound[[wikilinks]]
Site-level exports AI agents should start with:
| URL | Purpose |
|---|---|
/llms.txt |
short index per llmstxt.org |
/llms-full.txt |
flattened plain-text dump (capped at 5 MB) |
/graph.jsonld |
schema.org JSON-LD entity / concept / source graph |
/sitemap.xml |
standard sitemap with lastmod |
/rss.xml |
RSS 2.0 of newest sessions |
/robots.txt |
AI-friendly robots + link to llms.txt |
/ai-readme.md |
navigation instructions aimed at AI agents |
/manifest.json |
SHA-256 hashes for every file + perf-budget check |
Keyboard shortcuts
Press ? on any page to see the shortcuts modal. Current set:
| Key | Does |
|---|---|
⌘K / Ctrl+K |
open command palette |
/ |
focus search filter (on index pages) |
g h |
go to home |
g p |
go to projects |
g s |
go to sessions |
j / k |
next / previous row (on table views) |
? |
show this shortcut modal |
Esc |
close modal / palette |
Theming
Site-wide CSS lives in llmwiki/render/css.py. All tokens inherit
from the brand system — see
../design/brand-system.md.
Theme toggle (top-right): light / dark, persists via
localStorage.theme. System preference (prefers-color-scheme) is
honoured when no override is set.
Accessibility
WCAG 2.1 AA targeted across the whole site. Specifics in
../accessibility.md. Notable:
- Every image has an
altattribute - Skip-to-content link appears on every page on keyboard focus
- Focus ring uses the accent colour with 2 px outline + 2 px offset
prefers-reduced-motionhonoured (all transitions collapse to 0.01 ms)- Muted text hits ≥ 4.8:1 contrast in light and ≥ 6.9:1 in dark
Related
- CLI reference — every
python3 -m llmwiki …subcommand. - Slash commands reference — the
/wiki-*surface. - Reader API contract — stable shape of every file the build writes.
- Reader-first article shell — opt-in Wikipedia-style layout for individual pages.