From 6dbc6732fa5921b787743f5f30478d1e4157a558 Mon Sep 17 00:00:00 2001 From: shaan Date: Mon, 25 May 2026 04:23:06 -0700 Subject: [PATCH] feat: completed the service.yaml config for homepage. It is now fully functional --- homepage/bookmarks.yaml | 15 ++++ homepage/services.yaml | 151 ++++++++++++++++++++++++++++++---------- homepage/settings.yaml | 10 +++ homepage/widgets.yaml | 1 + 4 files changed, 142 insertions(+), 35 deletions(-) diff --git a/homepage/bookmarks.yaml b/homepage/bookmarks.yaml index f737f52..d574958 100644 --- a/homepage/bookmarks.yaml +++ b/homepage/bookmarks.yaml @@ -1,3 +1,18 @@ --- # For configuration options and examples, please see: # https://gethomepage.dev/configs/bookmarks +- Bookmarks: + - Github: + - icon: si-github + href: https://github.com/dhaan7/torrent-stack + description: link to this GitHub repository + + - Termix: + - icon: si-termix + href: "{{HOMEPAGE_VAR_TERMIX_HOST}}" + description: Terminal emulator in your web browser + + - Monitorix: + - icon: si-monitorix + href: http://{{HOMEPAGE_VAR_SERVER_NAME}}:4000/monitorix + description: Generate and review system reports diff --git a/homepage/services.yaml b/homepage/services.yaml index d6c068a..c8fb4a5 100644 --- a/homepage/services.yaml +++ b/homepage/services.yaml @@ -5,12 +5,30 @@ - "Top": - "io": icon: si-docker - href: http://localhost + href: "{{HOMEPAGE_VAR_GLANCES_HOST}}" description: IO Dashboard + widget: + type: customapi + url: "{{HOMEPAGE_VAR_GLANCES_ADDRESS}}/api/4/network/interface_name/value/enp2s0" + method: GET + mappings: + - field: enp2s0.0.bytes_recv_rate_per_sec + label: Recv. + format: bitrate + - field: enp2s0.0.bytes_sent_rate_per_sec + label: Sent. + format: bitrate - "External Address": icon: si-globus - href: http://localhost + href: https://api.ipify.org description: WAN IP Address + widget: + type: customapi + url: https://api.ipify.org?format=json + method: GET + mappings: + - field: ip + label: Address - "Tailscale >": icon: si-tailscale href: https://login.tailscale.com @@ -22,11 +40,11 @@ fields: [address] - "Speedtest Results >": icon: si-speedtest - href: http://localhost + href: "{{HOMEPAGE_VAR_MYSPEED_HOST}}" #description: hi widget: type: myspeed - url: http://192.168.50.2:5216 + url: "{{HOMEPAGE_VAR_MYSPEED_ADDRESS}}" fields: [download, upload] # Non-Torrent-Stack Group @@ -58,6 +76,8 @@ type: tautulli url: "{{HOMEPAGE_VAR_TAUTULLI_ADDRESS}}" key: "{{HOMEPAGE_VAR_TAUTULLI_KEY}}" + enableUser: false + expandOneStreamToTwoRows: false - "Plex >": icon: si-plex href: "{{HOMEPAGE_VAR_PLEX_HOST}}" @@ -66,6 +86,7 @@ type: plex url: "{{HOMEPAGE_VAR_PLEX_ADDRESS}}" key: "{{HOMEPAGE_VAR_PLEX_KEY}}" + fields: [albums, movies, tv] - "Media_2x2": - "Seerr >": icon: si-overseerr @@ -104,34 +125,34 @@ url: "{{HOMEPAGE_VAR_LIDARR_ADDRESS}}" key: "{{HOMEPAGE_VAR_LIDARR_KEY}}" fields: [wanted, queued] - - "Tdarr >": - icon: si-tdarr - href: "{{HOMEPAGE_VAR_TDARR_HOST}}" - description: Distributed Media Transcoding - widget: - type: tdarr - url: "{{HOMEPAGE_VAR_TDARR_ADDRESS}}" - key: "{{HOMEPAGE_VAR_TDARR_KEY}}" - - Tdarr Node: - icon: si-tdarr - href: http://localhost - description: Transcoding Processing Node - - "Minecraft": - icon: si-minecraft - href: http://localhost - description: Game Server Instance - widget: - type: minecraft - url: http://localhost:25565 - -- Network: + - "Media_oddballs": + - "Tdarr >": + icon: si-tdarr + href: "{{HOMEPAGE_VAR_TDARR_HOST}}" + description: Distributed Media Transcoding + widget: + type: tdarr + url: "{{HOMEPAGE_VAR_TDARR_ADDRESS}}" + key: "{{HOMEPAGE_VAR_TDARR_KEY}}" + - Tdarr Node: + icon: si-tdarr + href: http://localhost + description: Transcoding Processing Node + - "Minecraft": + icon: si-minecraft + href: http://localhost + description: Game Server Instance + widget: + type: minecraft + url: http://localhost:25565 +- "Network": - "Gluetun": icon: si-gluetun href: http://localhost description: VPN Client Container - widget: - type: gluetun - url: ${HOMEPAGE_VAR_WEB_PROTOCOL}://${HOMEPAGE_VAR_LOCAL_IPV4}:8000 + #widget: + # type: gluetun + # url: ${HOMEPAGE_VAR_WEB_PROTOCOL}://${HOMEPAGE_VAR_LOCAL_IPV4}:8000 - "Port Updater": icon: si-docker @@ -142,23 +163,83 @@ icon: si-prowlarr href: http://localhost:9696 description: Indexer Management + widget: + type: prowlarr + url: "{{HOMEPAGE_VAR_PROWLARR_ADDRESS}}" + key: "{{HOMEPAGE_VAR_PROWLARR_KEY}}" - "qBittorrent1 >": icon: si-qbittorrent - href: http://localhost + href: "{{HOMEPAGE_VAR_QBITTORRENT_HOST}}" + widget: + type: customapi + url: "{{HOMEPAGE_VAR_QBITTORRENT_ADDRESS}}/api/v2/torrents/info?filter=seeding" + mappings: + #- field: + - label: Active Torrents + format: integer + scale: 1 description: - "qBittorrent2 >": icon: si-qbittorrent - href: "" - description: + href: "{{HOMEPAGE_VAR_QBITTORRENT_HOST}}" + widget: + type: customapi + url: "{{HOMEPAGE_VAR_QBITTORRENT_ADDRESS}}/api/v2/sync/maindata" + mappings: + - field: server_state.connection_status + label: status + format: string + - field: server_state.dht_nodes + label: DHT nodes + format: integer + scale: 1 + - field: server_state.last_external_address_v4 + label: Address + format: string - "qBittorrent3 >": icon: si-qbittorrent - href: http://localhost - description: + href: "{{HOMEPAGE_VAR_QBITTORRENT_HOST}}" + widget: + type: customapi + url: "{{HOMEPAGE_VAR_QBITTORRENT_ADDRESS}}/api/v2/sync/maindata" + mappings: + - field: server_state.alltime_dl + label: T. Down + format: bytes + scale: 0.862 + - field: server_state.alltime_ul + label: T. Up + format: bytes + scale: 0.862 + - field: server_state.global_ratio + label: Ratio + format: integer + scale: 100 + suffix: "%" - "qBittorrent4 >": icon: si-qbittorrent - href: http://localhost - description: + href: "{{HOMEPAGE_VAR_QBITTORRENT_HOST}}" + widget: + type: customapi + url: "{{HOMEPAGE_VAR_QBITTORRENT_ADDRESS}}/api/v2/sync/maindata" + mappings: + - field: server_state.down_info_speed + label: t. down + format: bytes + scale: 0.862 + - field: server_state.down_info_data + label: down + format: speed + scale: 0. + - field: server_state.up_info_speed + label: t. up + format: bytes + scale: 0.862 + - field: server_state.up_info_data + label: up + format: speed + scale: 0.862 diff --git a/homepage/settings.yaml b/homepage/settings.yaml index d64f90a..5a4dd61 100644 --- a/homepage/settings.yaml +++ b/homepage/settings.yaml @@ -51,4 +51,14 @@ layout: "Media": style: column columns: 1 + "Media_2x2": + header: false + style: row + columns: 2 + "Media_oddballs": + header: false + style: row + columns: 1 "Network": + style: column + columns: 1 diff --git a/homepage/widgets.yaml b/homepage/widgets.yaml index 15589cb..41231ca 100644 --- a/homepage/widgets.yaml +++ b/homepage/widgets.yaml @@ -21,6 +21,7 @@ - glances: url: http://host.docker.internal:61208 + href: "{{HOMEPAGE_VAR_GLANCES_HOST}}" username: user # optional if auth enabled in Glances password: pass # optional if auth enabled in Glances version: 4 # required only if running glances v4 or higher, defaults to 3