feat: add FS25_FarmHUD mod and FarmHUD desktop companion app

Initial commit: the FS25 Lua mod (live.json data export), the
FS25-WebDashboard project (Node/web dashboard + PySide6 desktop
variant), and FarmHUD (standalone PySide6 companion app with
Discord Rich Presence, settings, and installer).
This commit is contained in:
2026-09-27 15:25:07 +02:00
commit e5754cca18
63 changed files with 7196 additions and 0 deletions
+274
View File
@@ -0,0 +1,274 @@
<!doctype html>
<html lang="de">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>FS25 Live Dashboard</title>
<link rel="stylesheet" href="style.css" />
</head>
<body>
<div class="app">
<header class="topbar">
<div class="brand">
<span class="brand-mark">FS25</span>
<span class="brand-title">Live Dashboard</span>
<span class="brand-sub" id="mapIdText"></span>
</div>
<div class="topbar-right">
<div class="status" id="status">
<span class="status-dot" id="statusDot"></span>
<span id="statusText">Verbinde…</span>
</div>
<button class="icon-btn" id="themeToggle" title="Hell/Dunkel umschalten">🌓</button>
<button class="icon-btn" id="fullscreenBtn" title="Vollbild">⛶</button>
</div>
</header>
<main class="grid">
<!-- Selected vehicle -->
<section class="panel vehicle-panel" data-panel-id="vehicle">
<div class="panel-header">
<h2 id="vehicleName">Kein Fahrzeug ausgewählt</h2>
<span class="panel-sub" id="vehicleType"></span>
<button class="link-btn" id="followMyVehicleBtn" title="Wieder automatisch dem gesteuerten Fahrzeug folgen">📍 Mein Fahrzeug</button>
<button class="panel-toggle" title="Ein-/Ausklappen">▾</button>
</div>
<div class="panel-body">
<div class="manual-select-hint" id="manualSelectHint" hidden>🔒 manuell ausgewählt – klicke „Mein Fahrzeug“ um wieder automatisch zu folgen</div>
<div class="gauge-row">
<div class="gauge-box">
<svg viewBox="0 0 200 155" class="gauge">
<path d="M20,100 A80,80 0 0 1 180,100" class="gauge-track" />
<path d="M20,100 A80,80 0 0 1 180,100" class="gauge-fill" id="speedGaugeFill" />
<text x="100" y="128" class="gauge-value" id="speedValue">0</text>
<text x="100" y="148" class="gauge-unit">km/h</text>
</svg>
<div class="gauge-caption">Geschwindigkeit</div>
</div>
<div class="gauge-box">
<svg viewBox="0 0 200 155" class="gauge">
<path d="M20,100 A80,80 0 0 1 180,100" class="gauge-track" />
<path d="M20,100 A80,80 0 0 1 180,100" class="gauge-fill gauge-fill-rpm" id="rpmGaugeFill" />
<text x="100" y="128" class="gauge-value" id="rpmValue">0</text>
<text x="100" y="148" class="gauge-unit">U/min</text>
</svg>
<div class="gauge-caption">Drehzahl</div>
</div>
</div>
<div class="stat-row">
<div class="stat-chip" id="cruiseChip">
<span class="stat-label">Tempomat</span>
<span class="stat-value" id="cruiseValue">aus</span>
</div>
<div class="stat-chip">
<span class="stat-label">Motor</span>
<span class="stat-value" id="motorValue">–</span>
</div>
<div class="stat-chip">
<span class="stat-label">Last</span>
<span class="stat-value" id="loadValue">–</span>
</div>
</div>
<div class="stat-row">
<div class="stat-chip">
<span class="stat-label">Betriebsstunden</span>
<span class="stat-value" id="hoursValue">–</span>
</div>
<div class="stat-chip">
<span class="stat-label">Neuwert</span>
<span class="stat-value" id="priceValue">–</span>
</div>
<div class="stat-chip">
<span class="stat-label">Verkaufswert</span>
<span class="stat-value" id="sellPriceValue">–</span>
</div>
</div>
<div class="stat-row">
<div class="stat-chip">
<span class="stat-label">Position</span>
<span class="stat-value" id="positionValue">–</span>
</div>
<div class="stat-chip">
<span class="stat-label">Ausrichtung</span>
<span class="stat-value" id="headingValue">–</span>
</div>
</div>
<div class="bar-row">
<div class="bar-block">
<div class="bar-label"><span>Tank</span><span id="fuelText">–</span></div>
<div class="bar-track"><div class="bar-fill bar-fuel" id="fuelBar"></div></div>
</div>
<div class="bar-block">
<div class="bar-label"><span>Schaden</span><span id="damageText">–</span></div>
<div class="bar-track"><div class="bar-fill bar-damage" id="damageBar"></div></div>
</div>
<div class="bar-block">
<div class="bar-label"><span>Verschmutzung</span><span id="dirtText">–</span></div>
<div class="bar-track"><div class="bar-fill bar-dirt" id="dirtBar"></div></div>
</div>
</div>
<div class="implements-block">
<div class="bar-label"><span>Eigene Ladung / Behälter</span></div>
<div id="ownFillUnitsList" class="implements-list">
<div class="implements-empty">– keine –</div>
</div>
</div>
<div class="implements-block">
<div class="bar-label"><span>Angekoppelte Geräte</span></div>
<div id="implementsList" class="implements-list">
<div class="implements-empty">– keine –</div>
</div>
</div>
<div class="sparkline-block">
<div class="bar-label"><span>Geschwindigkeit (letzte 60s)</span></div>
<canvas id="speedHistory" height="48"></canvas>
</div>
</div>
</section>
<!-- Time -->
<section class="panel time-panel" data-panel-id="time">
<div class="panel-header">
<h2>Zeit</h2>
<button class="panel-toggle" title="Ein-/Ausklappen">▾</button>
</div>
<div class="panel-body">
<div class="clock" id="clockText">--:--</div>
<div class="time-sub">
<span id="dayText">Tag –</span>
<span id="seasonText"></span>
<span id="periodText"></span>
<span id="scaleText"></span>
</div>
</div>
</section>
<!-- Weather -->
<section class="panel weather-panel" data-panel-id="weather">
<div class="panel-header">
<h2>Wetter</h2>
<button class="panel-toggle" title="Ein-/Ausklappen">▾</button>
</div>
<div class="panel-body">
<div class="weather-now" id="weatherNow">
<div class="weather-icon" id="weatherIcon">❓</div>
<div class="weather-now-text">
<div class="weather-type" id="weatherType">Unbekannt</div>
<div class="weather-temp" id="weatherTemp"></div>
</div>
<div class="weather-badges" id="weatherBadges"></div>
</div>
<div class="time-sub" id="weatherExtra"></div>
<div class="forecast-strip" id="forecastStrip">
<div class="forecast-empty">Keine Vorhersagedaten vom Spiel verfügbar.</div>
</div>
</div>
</section>
<!-- Farm -->
<section class="panel farm-panel" data-panel-id="farm">
<div class="panel-header">
<h2>Betrieb</h2>
<button class="panel-toggle" title="Ein-/Ausklappen">▾</button>
</div>
<div class="panel-body">
<div class="farm-row">
<div class="stat-chip">
<span class="stat-label">Betrieb</span>
<span class="stat-value" id="farmName">–</span>
</div>
<div class="stat-chip">
<span class="stat-label">Kontostand</span>
<span class="stat-value" id="farmMoney">–</span>
</div>
<div class="stat-chip">
<span class="stat-label">Eigene Grundstücke</span>
<span class="stat-value" id="farmlandCount">–</span>
</div>
<div class="stat-chip">
<span class="stat-label">Grundstückswert</span>
<span class="stat-value" id="farmlandValue">–</span>
</div>
<div class="stat-chip">
<span class="stat-label">Spielerstatus</span>
<span class="stat-value" id="playerStatusValue">–</span>
</div>
</div>
<div class="storage-subhead" id="otherFarmsHead" hidden>Andere Betriebe</div>
<div id="otherFarmsList" class="storage-list"></div>
<div class="storage-subhead">Eigene Grundstücke</div>
<div id="farmlandList" class="storage-list">
<div class="storage-empty">– keine –</div>
</div>
</div>
</section>
<!-- Storage, animals & production -->
<section class="panel storage-panel" data-panel-id="storage">
<div class="panel-header">
<h2>Lager, Tierhaltung &amp; Produktion</h2>
<button class="panel-toggle" title="Ein-/Ausklappen">▾</button>
</div>
<div class="panel-body">
<div class="storage-subhead">Silos</div>
<div id="siloList" class="storage-list">
<div class="storage-empty">– keine Daten –</div>
</div>
<div class="storage-subhead">Ställe</div>
<div id="husbandryList" class="storage-list">
<div class="storage-empty">– keine Daten –</div>
</div>
<div class="storage-subhead">Produktionen</div>
<div id="productionList" class="storage-list">
<div class="storage-empty">– keine Daten –</div>
</div>
</div>
</section>
<!-- Vehicle table -->
<section class="panel table-panel" data-panel-id="table">
<div class="panel-header">
<h2>Alle Fahrzeuge</h2>
<span class="panel-sub" id="vehicleCount">0 Fahrzeuge</span>
<button class="panel-toggle" title="Ein-/Ausklappen">▾</button>
</div>
<div class="panel-body">
<div class="table-wrap">
<table id="vehicleTable">
<thead>
<tr>
<th>Name</th>
<th>km/h</th>
<th>U/min</th>
<th>Tempomat</th>
<th>Tank</th>
<th>Schaden</th>
</tr>
</thead>
<tbody id="vehicleTableBody"></tbody>
</table>
</div>
</div>
</section>
</main>
</div>
<script src="app.js"></script>
</body>
</html>