From 0ea898778eb5e55ce15dcfe03bc479cec33037d3 Mon Sep 17 00:00:00 2001 From: kisfenyo Date: Tue, 13 Jan 2026 10:22:18 +0100 Subject: [PATCH] added romm and steam widgets --- glance-system/glance-kisfenyo.yaml | 57 ++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) diff --git a/glance-system/glance-kisfenyo.yaml b/glance-system/glance-kisfenyo.yaml index 4763575..868d715 100644 --- a/glance-system/glance-kisfenyo.yaml +++ b/glance-system/glance-kisfenyo.yaml @@ -842,6 +842,61 @@ data: + - type: custom-api + title: RomM + cache: 1d + url: http://${ROMM_URL}/api/stats + headers: + Accept: application/json + template: | + {{ $bytes := .JSON.Int "TOTAL_FILESIZE_BYTES" | toFloat }} + {{ $tb := div $bytes 1099511627776 }} + {{ $gb := div $bytes 1073741824 | toInt }} + +
+
+
{{ .JSON.Int "PLATFORMS" | formatNumber }}
+
PLATFORMS
+
+
+
{{ .JSON.Int "ROMS" | formatNumber }}
+
ROMS
+
+
+
+ {{ if ge $tb 1.0 }} + {{ printf "%.2f" $tb }}TB + {{ else }} + {{ $gb }}GB + {{ end }} +
+
FILESIZE
+
+
+ + - type: custom-api + title: Steam Specials + cache: 12h + url: https://store.steampowered.com/api/featuredcategories?cc=us + template: | + + - size: full widgets: # YouTube Videos @@ -1454,6 +1509,8 @@ spec: value: "newtoken" - name: CRAFTY_SERVER_ID value: "837c7378-7a76-46f7-b8ea-6f35c0a314f4" + - name: ROMM_URL + value: "arcade.dooplex.hu" ports: - name: http containerPort: 8080