UI: affichage de la RAM systeme dans la barre laterale

Nouvel endpoint /api/ram (lecture /proc/meminfo, used/total en Mo, 0 hors Linux)
et bloc RAM dans la sidebar a cote du GPU, rafraichi toutes les 3 s. Masque si
pas de /proc/meminfo (Windows/mac).
This commit is contained in:
nathaninline committed 2026-07-23 13:40:53 +02:00
1 parent ee76638f15
commit dbb0ac40a4
7 files changed
+60 -2

No files matched your search

+1
View File
@@ -79,6 +79,7 @@ func newWebMux() *http.ServeMux {
api("/api/ping", handlePing)
api("/api/status", handleStatus)
api("/api/vram", handleVram)
api("/api/ram", handleRam)
api("/api/config", handleConfigEnv)
api("/api/catalog", handleCatalog)
api("/api/update", handleUpdateCheck)