Skip to content

Instantly share code, notes, and snippets.

@Zeokat
Created November 16, 2025 07:04
Show Gist options
  • Select an option

  • Save Zeokat/c7ac6797d9e68d446d8b9a929311ea8f to your computer and use it in GitHub Desktop.

Select an option

Save Zeokat/c7ac6797d9e68d446d8b9a929311ea8f to your computer and use it in GitHub Desktop.
Glance config
# theme:
# disable-picker: true
# background-color: 216 19 11
# contrast-multiplier: 1.1
# primary-color: 210 100 67
# positive-color: 132 59 37
# negative-color: 3 90 63
- name: Home
hide-desktop-navigation: true
show-mobile-header: true
hide-footer: true
head-widgets:
- type: split-column
widgets:
- type: server-stats
hide-header: true
servers:
- type: local
name: Dell OptiPlex 3060
hide-mountpoints-by-default: true
mountpoints:
"/":
hide: false
"/mnt/nextcloud":
hide: false
"/mnt/backup_ssd":
hide: false
- type: server-stats
hide-header: true
servers:
- type: remote
name: Raspberry Pi 5
url: ${GLANCE_RPI_URL}
token: ${GLANCE_RPI_TOKEN}
hide-mountpoints-by-default: true
mountpoints:
"/":
hide: false
"/etc/resolv.conf":
hide: true
"/etc/hostname":
hide: true
"/etc/hosts":
hide: true
columns:
- size: small
widgets:
- type: custom-api
title: Network Speedtest
title-url: ${NETWORK_SPEEDTEST_URL}
url: ${NETWORK_SPEEDTEST_URL}/api/v1/results/latest
headers:
Authorization: ${NETWORK_SPEEDTEST_API_KEY}
Accept: application/json
subrequests:
stats:
url: ${NETWORK_SPEEDTEST_URL}/api/v1/stats
headers:
Authorization: ${NETWORK_SPEEDTEST_API_KEY}
Accept: application/json
options:
showPercentageDiff: true
template: |
{{ $showPercentage := .Options.BoolOr "showPercentageDiff" true }}
{{ $stats := .Subrequest "stats" }}
<div class="flex justify-between text-center margin-block-3">
<div>
<div class="color-highlight size-h3">{{ .JSON.Float "data.download_bits" | mul 0.000001 | printf "%.2f" }}</div>
<div class="size-h6">DOWNLOAD</div>
</div>
<div>
<div class="color-highlight size-h3">{{ .JSON.Float "data.upload_bits" | mul 0.000001 | printf "%.2f" }}</div>
<div class="size-h6">UPLOAD</div>
</div>
<div>
<div class="color-highlight size-h3">{{ .JSON.Float "data.ping" | printf "%.2f ms" }}</div>
<div class="size-h6">PING</div>
</div>
</div>
- type: dns-stats
service: adguard
url: ${ADGUARD_HOME_URL}
username: ${ADGUARD_HOME_USERNAME}
password: ${ADGUARD_HOME_PASSWORD}
- type: custom-api
title: Immich stats
cache: 1d
url: ${IMMICH_HOME_URL}/api/server/statistics
headers:
x-api-key: ${IMMICH_HOME_API_KEY}
Accept: application/json
template: |
<div class="flex justify-between text-center">
<div>
<div class="color-highlight size-h3">{{ .JSON.Int "photos" | formatNumber }}</div>
<div class="size-h6">PHOTOS</div>
</div>
<div>
<div class="color-highlight size-h3">{{ .JSON.Int "videos" | formatNumber }}</div>
<div class="size-h6">VIDEOS</div>
</div>
<div>
<div class="color-highlight size-h3">{{ div (.JSON.Int "usage" | toFloat) 1073741824 | toInt | formatNumber }}GB</div>
<div class="size-h6">USAGE</div>
</div>
</div>
- type: custom-api
title: Nextcloud Stats
cache: 1d
url: ${NEXTCLOUD_HOME_URL}/ocs/v2.php/apps/serverinfo/api/v1/info?format=json
headers:
OCS-APIRequest: 'true'
Authorization: ${NEXTCLOUD_HOME_API_KEY}
Accept: application/json
User-Agent: GlanceWidget/1.0
template: |
<div class="flex justify-between text-center">
<div>
<div class="color-highlight size-h3">{{ div (.JSON.Result.Get "ocs.data.nextcloud.system.freespace").Float 1073741824 | toInt | formatNumber }}GB</div>
<div class="size-h6">FREE SPACE</div>
</div>
<div>
<div class="color-highlight size-h3">{{ (.JSON.Result.Get "ocs.data.nextcloud.storage.num_users").Int | formatNumber }}</div>
<div class="size-h6">USERS</div>
</div>
<div>
<div class="color-highlight size-h3">{{ (.JSON.Result.Get "ocs.data.nextcloud.storage.num_files").Int | formatNumber }}</div>
<div class="size-h6">FILES</div>
</div>
</div>
- type: group
widgets:
- type: reddit
subreddit: selfhosted
collapse-after: 6
- type: reddit
subreddit: thinkpad
collapse-after: 6
- size: full
widgets:
- type: monitor
cache: 1m
title: Networking & Internet
sites:
- title: AdGuard Home
same-tab: true
timeout: 5s
url: https://adguard.${YOUR_BASE_DOMAIN}/
icon: di:adguard-home.png
- title: Nginx Proxy Manager
same-tab: true
timeout: 5s
url: https://nginx.${YOUR_BASE_DOMAIN}/
icon: di:nginx-proxy-manager.png
- title: Speedtest Tracker
same-tab: true
timeout: 5s
url: https://speedtest.${YOUR_BASE_DOMAIN}/
icon: di:speedtest-tracker.png
- title: Zero Trust Dashboard
same-tab: true
timeout: 5s
url: https://one.dash.cloudflare.com/${ZERO_TRUST_USER_ID}/home/quick-start
icon: di:cloudflare-zero-trust.png
- type: monitor
cache: 1m
title: Productivity & Files
sites:
- title: Bookheaven
same-tab: true
timeout: 5s
url: https://bookheaven.${YOUR_BASE_DOMAIN}/
icon: https://cdn.jsdelivr.net/gh/selfhst/icons/svg/bookheaven.svg
- title: Immich
same-tab: true
timeout: 5s
url: https://immich.${YOUR_BASE_DOMAIN}/
icon: di:immich.png
- title: KitchenOwl
same-tab: true
timeout: 5s
url: https://kitchenowl.${YOUR_BASE_DOMAIN}/
icon: di:kitchenowl.png
- title: Linkding
same-tab: true
timeout: 5s
url: https://linkding.${YOUR_BASE_DOMAIN}/
icon: di:linkding.png
- title: Nextcloud
same-tab: true
timeout: 5s
url: https://nextcloud.${YOUR_BASE_DOMAIN}/
icon: di:nextcloud.png
- title: Pairdrop
same-tab: true
timeout: 5s
url: https://pairdrop.${YOUR_BASE_DOMAIN}/
icon: di:pairdrop.png
- title: Paperless
same-tab: true
timeout: 5s
url: https://paperless.${YOUR_BASE_DOMAIN}/
icon: di:paperless-ngx.png
- title: Stirling PDF
same-tab: true
timeout: 5s
url: https://stirling.${YOUR_BASE_DOMAIN}/
icon: di:stirling-pdf.png
- title: Vaultwarden
same-tab: true
timeout: 5s
url: https://vault.${YOUR_BASE_DOMAIN}/
icon: di:vaultwarden.png
- title: Wallos
same-tab: true
timeout: 5s
url: https://wallos.${YOUR_BASE_DOMAIN}/
icon: di:wallos.png
- title: Wastebin
same-tab: true
timeout: 5s
url: https://wastebin.${YOUR_BASE_DOMAIN}/
icon: https://cdn.jsdelivr.net/gh/selfhst/icons/png/wastebin.png
- type: monitor
cache: 1m
title: Development & Management
sites:
- title: Cockpit
same-tab: true
timeout: 5s
url: https://cockpit.${YOUR_BASE_DOMAIN}/
icon: di:cockpit.png
- title: Code Server
same-tab: true
timeout: 5s
url: https://vscode.${YOUR_BASE_DOMAIN}/
icon: di:vscode.png
- title: Gitea
same-tab: true
timeout: 5s
url: https://gitea.${YOUR_BASE_DOMAIN}/
icon: di:gitea.png
- title: Mazanoke
same-tab: true
timeout: 5s
url: https://mazanoke.${YOUR_BASE_DOMAIN}/
icon: di:mazanoke.png
- title: Portainer
same-tab: true
timeout: 5s
url: https://portainer.${YOUR_BASE_DOMAIN}/
icon: di:portainer.png
- title: Termix
same-tab: true
timeout: 5s
url: https://termix.${YOUR_BASE_DOMAIN}/
icon: https://cdn.jsdelivr.net/gh/selfhst/icons/png/termix.png
- title: Warracker
same-tab: true
timeout: 5s
url: https://warracker.${YOUR_BASE_DOMAIN}/
icon: di:warracker.png
- type: monitor
cache: 1m
title: Monitoring & Utilities
sites:
- title: Uptime Kuma
same-tab: true
timeout: 5s
url: https://kuma.${YOUR_BASE_DOMAIN}/
icon: di:uptime-kuma.png
- title: What's up Docker?
same-tab: true
timeout: 5s
url: https://wud.${YOUR_BASE_DOMAIN}/
icon: di:whats-up-docker.png
- title: Your Spotify
same-tab: true
timeout: 5s
url: https://yourspotify.${YOUR_BASE_DOMAIN}/
icon: di:your-spotify.png
- type: rss
title: Self-Host Weekly
style: horizontal-cards
feeds:
- url: https://selfh.st/rss/
title: Self-Host Weekly
- type: rss
title: noted.lol
style: horizontal-cards
feeds:
- url: https://noted.lol/rss
title: noted.lol
- size: small
widgets:
- type: clock
time-format: 24h
date-format: d MMMM yyyy
show-seconds: true
show-timezone: true
timezone: Europe/Zagreb
- type: weather
location: Vinkovci, Croatia
units: metric
hour-format: 24h
- type: search
search-engine: google
target: _self
- type: calendar
first-day-of-week: monday
- type: bookmarks
groups:
- title: Dev
links:
- title: DevDocs
same-tab: true
url: https://devdocs.io/
- title: Landingfolio
same-tab: true
url: https://www.landingfolio.com/
- title: Free for Developers
same-tab: true
url: https://www.free-for.dev/
- title: Self-hosting Guide
same-tab: true
url: https://guide.hypernovat.com/s/0d3bca9e-c7b4-4a87-91b0-59dc78345c6d/
- title: awesome-selfhosted
same-tab: true
url: https://awesome-selfhosted.net/
- title: Torrents
color: 10 70 50
links:
- title: TorrentHR
same-tab: true
url: https://www.torrenthr.org/login.php
- title: CrnaBerza
same-tab: true
url: https://www.crnaberza.com/login.php?returnto=%2F
- title: YuBraca.net
same-tab: true
url: http://yubraca.net/login.php
- title: Infire.si
same-tab: true
url: https://infire.si/login.php
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment