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

+16
View File
@@ -0,0 +1,16 @@
"""Where The Kurgan keeps its settings and logs."""
import os
_LOCAL = os.environ.get("LOCALAPPDATA", os.path.expanduser("~"))
# KURGAN_DATA_DIR moves settings and logs elsewhere (used by --demo runs next to the real service).
DATA_DIR = os.environ.get("KURGAN_DATA_DIR") or os.path.join(_LOCAL, "Kurgan")
LOG_PATH = os.path.join(DATA_DIR, "kurgan.log")
SETTINGS_PATH = os.path.join(DATA_DIR, "settings.json")
# The TT LCD Dashboard's folder; its fan and lighting settings are imported once on first start.
LEGACY_DIR = os.path.join(_LOCAL, "TTLcdDashboard")
PACKAGE_DIR = os.path.dirname(os.path.abspath(__file__))
PROJECT_DIR = os.path.dirname(PACKAGE_DIR)