Update theme, links, and add Syncthing, RustFS, Netbird
This commit is contained in:
+4
-4
@@ -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
|
||||
|
||||
|
||||
+24
-12
@@ -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:
|
||||
|
||||
+84
-6
@@ -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:
|
||||
<FOLDER_1_ID>:
|
||||
url: "${SYNCTHING_URL}/rest/db/completion"
|
||||
parameters: { folder: "<FOLDER_1_ID>" }
|
||||
headers: { X-API-Key: ${SYNCTHING_API_KEY} }
|
||||
<FOLDER_2_ID>:
|
||||
url: "${SYNCTHING_URL}/rest/db/completion"
|
||||
parameters: { folder: "<FOLDER_2_ID>" }
|
||||
headers: { X-API-Key: ${SYNCTHING_API_KEY} }
|
||||
options:
|
||||
debug: false
|
||||
folders:
|
||||
- id: <FOLDER_1_ID>
|
||||
name: "Backup Folder 1"
|
||||
enabled: true
|
||||
- id: <FOLDER_2_ID>
|
||||
name: "Backup Folder 2"
|
||||
enabled: true
|
||||
template: |-
|
||||
{{ $debug := or (.Options.debug) false }}
|
||||
{{ $folders := .Options.folders }}
|
||||
|
||||
{{ if ne .Response.StatusCode 200 }}
|
||||
<p class="text-danger">⚠️ Syncthing API unreachable ({{ .Response.Status }})</p>
|
||||
{{ else }}
|
||||
<ul class="list">
|
||||
{{ range $folders }}
|
||||
{{ $id := .id }}
|
||||
{{ $name := .name }}
|
||||
{{ if .enabled }}
|
||||
{{ $r := $.Subrequest $id }}
|
||||
{{ if eq $r.Response.StatusCode 200 }}
|
||||
{{ $comp := $r.JSON.Float "completion" }}
|
||||
<li>
|
||||
<span class="{{ if eq $comp 100.0 }}text-success{{ else if gt $comp 0.0 }}text-info{{ else }}text-danger{{ end }}">
|
||||
{{ 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 }}
|
||||
</span>
|
||||
</li>
|
||||
{{ else }}
|
||||
<li><span class="text-danger">⚠️ {{ $name }} – Unreachable</span></li>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
</ul>
|
||||
{{ end }}
|
||||
|
||||
{{ if $debug }}
|
||||
<details style="margin-top:0.5rem">
|
||||
<summary>Debug – raw Syncthing JSON</summary>
|
||||
<pre style="font-size:10px">
|
||||
{{ (printf "%+v" .JSON) }}
|
||||
</pre>
|
||||
</details>
|
||||
{{ 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
|
||||
|
||||
Reference in New Issue
Block a user