From f487d3b454355ee7ae8449dead50bda6aff5e2ad Mon Sep 17 00:00:00 2001 From: SirBlobby Date: Thu, 9 Jul 2026 20:55:25 -0400 Subject: [PATCH] Update theme, links, and add Syncthing, RustFS, Netbird --- config/glance.yml | 8 ++-- config/home.yml | 36 ++++++++++++------ config/services.yml | 90 ++++++++++++++++++++++++++++++++++++++++++--- 3 files changed, 112 insertions(+), 22 deletions(-) diff --git a/config/glance.yml b/config/glance.yml index ec77a94..7570ba9 100644 --- a/config/glance.yml +++ b/config/glance.yml @@ -6,10 +6,10 @@ branding: app-background-color: "#22232e" # PWA Background theme: - contrast-multiplier: 1.5 - background-color: 0 0 13 - primary-color: 319 23 50 # Original lightness 81 - negative-color: 78 13 70 # Original lightness 59 + background-color: 240 13 14 + primary-color: 51 33 68 + negative-color: 358 100 68 + contrast-multiplier: 1.2 disable-picker: true diff --git a/config/home.yml b/config/home.yml index 0d058ce..29a567f 100644 --- a/config/home.yml +++ b/config/home.yml @@ -125,7 +125,7 @@ url: https://immich.sirblob.co/ icon: si:immich - title: Seanime - url: https://sea.sirblob.co/ + url: https://sea.home.lab/ icon: mdi:television - title: qBittorrent url: https://torr.sirblob.co/ @@ -146,7 +146,7 @@ - title: Web Tools links: - title: Paperless NGX - url: https://paperless.sirblob.co/ + url: https://paperless.home.lab/ icon: si:paperlessngx - title: Excalidraw url: https://draw.sirblob.co/ @@ -155,23 +155,29 @@ url: https://notes.sirblob.co/ icon: mdi:note-text - title: Stirling PDF - url: https://stirling.sirblob.co/ + url: https://pdf.home.lab/ icon: mdi:file-pdf-box - title: ConvertX - url: https://vertx.sirblob.co/ + url: https://vertx.home.lab/ icon: mdi:file-swap - title: Infrastructure links: - title: Dockage - url: https://dock.sirblob.co/ + url: https://dock.home.lab/ icon: si:docker - title: MCSManager url: http://panel.sirblob.co/ icon: mdi:server - title: Nginx Proxy Manager - url: https://npm.sirblob.co/ + url: https://npm.home.lab/ icon: si:nginxproxymanager + - title: RustFS + url: http://s3.home.lab/ + icon: mdi:bucket + - title: Netbird + url: https://netbird.sirblob.co/ + icon: si:netbird - title: School links: @@ -212,27 +218,33 @@ url: https://git.sirblob.co/ icon: si:gitea - title: Nginx Proxy Manager # Added NPM - url: https://npm.sirblob.co/ + url: https://npm.home.lab/ icon: si:nginxproxymanager - title: Seanime - url: https://sea.sirblob.co/ + url: https://sea.home.lab/ icon: mdi:television - title: Docmost url: https://notes.sirblob.co/ icon: mdi:note-text - title: Stirling PDF - url: https://stirling.sirblob.co/ + url: https://pdf.home.lab/ icon: mdi:file-pdf-box - title: ConvertX - url: https://vertx.sirblob.co/ + url: https://vertx.home.lab/ icon: mdi:file-swap - title: Dockage - url: https://dock.sirblob.co/ + url: https://dock.home.lab/ icon: si:docker - title: Paperless NGX - url: https://paperless.sirblob.co/ + url: https://paperless.home.lab/ icon: si:paperlessngx + - title: RustFS + url: http://s3.home.lab/ + icon: mdi:bucket + - title: Netbird + url: https://netbird.sirblob.co/ + icon: si:netbird - type: group widgets: diff --git a/config/services.yml b/config/services.yml index 95d8cd1..f418f87 100644 --- a/config/services.yml +++ b/config/services.yml @@ -8,6 +8,78 @@ style: vertical-list feeds: - url: https://blog.sirblob.co/rss.xml + + - type: custom-api + title: "Sync Status" + cache: 300s + headers: + X-API-Key: ${SYNCTHING_API_KEY} + url: "${SYNCTHING_URL}/rest/system/config" + subrequests: + : + url: "${SYNCTHING_URL}/rest/db/completion" + parameters: { folder: "" } + headers: { X-API-Key: ${SYNCTHING_API_KEY} } + : + url: "${SYNCTHING_URL}/rest/db/completion" + parameters: { folder: "" } + headers: { X-API-Key: ${SYNCTHING_API_KEY} } + options: + debug: false + folders: + - id: + name: "Backup Folder 1" + enabled: true + - id: + name: "Backup Folder 2" + enabled: true + template: |- + {{ $debug := or (.Options.debug) false }} + {{ $folders := .Options.folders }} + + {{ if ne .Response.StatusCode 200 }} +

⚠️ Syncthing API unreachable ({{ .Response.Status }})

+ {{ else }} +
    + {{ range $folders }} + {{ $id := .id }} + {{ $name := .name }} + {{ if .enabled }} + {{ $r := $.Subrequest $id }} + {{ if eq $r.Response.StatusCode 200 }} + {{ $comp := $r.JSON.Float "completion" }} +
  • + + {{ if eq $comp 100.0 }}✔️ + {{ else if gt $comp 0.0 }}🔄 + {{ else }}⚠️ + {{ end }} + {{ $name }} – + {{ if eq $comp 100.0 }} + In Sync (100 %) + {{ else if gt $comp 0.0 }} + Syncing ({{ printf "%.1f" $comp }} %) + {{ else }} + Unreachable + {{ end }} + +
  • + {{ else }} +
  • ⚠️ {{ $name }} – Unreachable
  • + {{ end }} + {{ end }} + {{ end }} +
+ {{ end }} + + {{ if $debug }} +
+ Debug – raw Syncthing JSON +
+            {{ (printf "%+v" .JSON) }}
+                
+
+ {{ end }} - size: full widgets: - type: monitor @@ -40,27 +112,33 @@ url: https://git.sirblob.co/ icon: si:gitea - title: Nginx Proxy Manager # Added NPM - url: https://npm.sirblob.co/ + url: https://npm.home.lab/ icon: si:nginxproxymanager - title: Seanime - url: https://sea.sirblob.co/ + url: https://sea.home.lab/ icon: mdi:television - title: Docmost url: https://notes.sirblob.co/ icon: mdi:note-text - title: Stirling PDF - url: https://stirling.sirblob.co/ + url: https://pdf.home.lab/ icon: mdi:file-pdf-box - title: ConvertX - url: https://vertx.sirblob.co/ + url: https://vertx.home.lab/ icon: mdi:file-swap - title: Dockage - url: https://dock.sirblob.co/ + url: https://dock.home.lab/ icon: si:docker - title: Paperless NGX - url: https://paperless.sirblob.co/ + url: https://paperless.home.lab/ icon: si:paperlessngx + - title: RustFS + url: http://s3.home.lab/ + icon: mdi:bucket + - title: Netbird + url: https://netbird.sirblob.co/ + icon: si:netbird - type: custom-api title: Immich stats