The Kurgan 1.0.0: one process for the LCD, fans, lighting, local LLM servers and the web UI

This commit is contained in:
paul committed 2026-12-05 16:20:49 +13:00
commit f631386618
71 files changed
+14616

No files matched your search

+117
View File
@@ -0,0 +1,117 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>The Kurgan</title>
<link rel="icon" href="/static/favicon.svg" type="image/svg+xml">
<link rel="stylesheet" href="/static/style.css">
<script src="/static/app.js" defer></script>
</head>
<body>
<header class="masthead">
<div class="brand">
<svg viewBox="0 0 32 32" aria-hidden="true"><use href="/static/favicon.svg#tank"/></svg>
<h1>THE KURGAN</h1>
</div>
<nav aria-label="Sections">
<a href="#system">System</a><a href="#cooling">Cooling</a><a href="#lighting">Lighting</a><a href="#ai">AI</a>
</nav>
<div class="hero" title="Whole-PC power draw (DC, load on the power supply)">
<span class="hero-value" id="hero-total">--</span><span class="hero-unit">W</span>
<span class="hero-label">whole PC</span>
</div>
<div class="meta" id="meta" aria-live="polite"></div>
</header>
<div class="banner" id="banner" role="status" hidden></div>
<main>
<!-- ======================================================== SYSTEM -->
<section id="system" aria-labelledby="h-system">
<h2 id="h-system">System</h2>
<div class="tiles">
<div class="card tile">
<div class="label"><span class="key" style="background:var(--cpu)"></span>CPU</div>
<div class="value"><span id="cpu-temp">--</span><small>°C</small></div>
<div class="detail" id="cpu-detail">&nbsp;</div>
</div>
<div class="card tile">
<div class="label"><span class="key" style="background:var(--gpu)"></span>GPU</div>
<div class="value"><span id="gpu-temp">--</span><small>°C</small></div>
<div class="detail" id="gpu-detail">&nbsp;</div>
</div>
<div class="card tile">
<div class="label">GPU memory</div>
<div class="value"><span id="vram-used">--</span><small id="vram-total"></small></div>
<div class="meter" role="meter" aria-label="GPU memory used" id="vram-meter"><span></span></div>
</div>
<div class="card tile">
<div class="label">LCD</div>
<div class="value" style="font-size:18px;margin-top:8px" id="lcd-status">--</div>
<div class="detail" id="lcd-detail">&nbsp;</div>
</div>
</div>
<div class="grid2">
<figure class="card chart" id="chart-power"></figure>
<figure class="card chart" id="chart-temps"></figure>
</div>
</section>
<!-- ======================================================== COOLING -->
<section id="cooling" aria-labelledby="h-cooling">
<h2 id="h-cooling">Cooling</h2>
<div class="card">
<div class="row">
<div>
<h3>Fan profile</h3>
<p class="sub" style="margin:0">Applies to the Commander PRO case fans and the motherboard top fans. Fail-safes stay on in every profile.</p>
</div>
<div class="spacer"></div>
<div class="seg" role="radiogroup" aria-label="Fan profile" id="profiles"></div>
</div>
<p class="profile-desc" id="profile-desc"></p>
<div id="cooling-note"></div>
</div>
<div class="grid3" id="fan-groups"></div>
<div class="grid2">
<figure class="card chart" id="chart-fans"></figure>
<figure class="card chart" id="chart-curves"></figure>
</div>
</section>
<!-- ======================================================== LIGHTING -->
<section id="lighting" aria-labelledby="h-lighting">
<h2 id="h-lighting">Lighting</h2>
<div class="grid3" id="light-zones"></div>
<p class="muted" style="font-size:13px;margin:10px 2px 0" id="chase-note"></p>
</section>
<!-- ======================================================== AI -->
<section id="ai" aria-labelledby="h-ai">
<h2 id="h-ai">AI</h2>
<div class="card">
<div class="row" style="margin-bottom:12px">
<div>
<h3>Local LLM server</h3>
<p class="sub" style="margin:0">One runs at a time, so they never share the GPU's memory. A request to either one's address starts it, once the other has finished what it's doing; switching stops the other completely first.</p>
<p class="sub" style="margin:4px 0 0" id="ai-idle"></p>
</div>
</div>
<div class="backends" role="radiogroup" aria-label="LLM server" id="backends"></div>
<div id="ai-notes"></div>
</div>
<div class="grid2">
<div class="card" id="ai-active"></div>
<figure class="card chart" id="chart-vram"></figure>
</div>
<div class="card" style="margin-top:16px">
<h3>Recent requests</h3>
<p class="sub" id="requests-sub">Newest first</p>
<div class="table-wrap" id="requests"></div>
</div>
</section>
</main>
<footer id="footer"></footer>
<div class="tooltip" id="tooltip" role="tooltip" hidden></div>
</body>
</html>