commit 64d070411f072dbdeb3a86da7beffe800f83e29c Author: Vishakh Pradeep Kumar Date: Wed Jul 9 16:18:02 2025 +0400 first commit diff --git a/config/.glance.yml.swp b/config/.glance.yml.swp new file mode 100644 index 0000000..eae2656 Binary files /dev/null and b/config/.glance.yml.swp differ diff --git a/config/glance.yml b/config/glance.yml new file mode 100644 index 0000000..24c2694 --- /dev/null +++ b/config/glance.yml @@ -0,0 +1,245 @@ +pages: + - name: Home + width: slim + hide-desktop-navigation: true + center-vertically: true + head-widgets: + - type: search + search-engine: duckduckgo + bangs: + - title: YouTube + shortcut: "!yt" + url: https://www.youtube.com/results?search_query={QUERY} + + columns: +# - size: small +# widgets: +# - type: calendar +# first-day-of-week: monday +# +# +# - type: weather +# location: Dubai, United Arab Emirates +# units: metric # alternatively "imperial" +# hour-format: 12h # alternatively "24h" +# +# - type: twitch-channels +# channels: +# - hasanabi +# - f1nn5ter +# - ickystreams +# - EJ_SA + + + - size: full + widgets: + + + + - type: monitor + cache: 1m + title: Services Monitor + sites: + - title: Jellyfin + url: https://jellyfin.grokkingstuff.org + icon: /assets/jellyfin-logo.png + - title: Gitea + url: https://gitea.grokkingstuff.org + icon: /assets/gitea-logo.png + - title: Immich + url: https://immich.yourdomain.com + icon: /assets/immich-logo.png + - title: AdGuard Home + url: https://adguard.yourdomain.com + icon: /assets/adguard-logo.png + - title: Vaultwarden + url: https://vault.yourdomain.com + icon: /assets/vaultwarden-logo.png + + + - type: custom-api + title: Tailscale Devices + title-url: https://login.tailscale.com/admin/machines + url: https://api.tailscale.com/api/v2/tailnet/-/devices + headers: + Authorization: Bearer tskey-api-k8dNQqtLD721CNTRL-moEnDQk5SjK5RVGH8tW5gKyadpquiS8pe + cache: 10m + template: | + {{/* User Variables */}} + {{/* Set to true if you'd like an indicator for online devices */}} + {{ $enableOnlineIndicator := false }} + + + + +# - type: group +# widgets: +# - type: hacker-news +# - type: lobsters + +# - type: videos +# channels: +# - UCXuqSBlHAE6Xw-yeJA0Tunw # Linus Tech Tips +# - UCR-DXc1voovS8nhAvccRZhg # Jeff Geerling +# - UCsBjURrPoezykLs9EqgamOA # Fireship +# - UCBJycsmduvYEL83R_U4JriQ # Marques Brownlee +# - UCHnyfMqiRRG1u-2MsSQLbXA # Veritasium + + +# - size: small +# widgets: +# +# - type: markets +# markets: +# - symbol: SPY +# name: S&P 500 +# - symbol: BTC-USD +# name: Bitcoin +# - symbol: NVDA +# name: NVIDIA +# - symbol: AAPL +# name: Apple +# - symbol: MSFT +# name: Microsoft +# +# - type: releases +# cache: 1d +# # Without authentication the Github API allows for up to 60 requests per hour. You can create a +# # read-only token from your Github account settings and use it here to increase the limit. +# # token: ... +# repositories: +# - glanceapp/glance +# - go-gitea/gitea +# - immich-app/immich +# - syncthing/syncthing + + +theme: + light: true + background-color: 220 23 95 + contrast-multiplier: 1.0 + primary-color: 220 91 54 + positive-color: 109 58 40 + negative-color: 347 87 44 + + # Add more pages here: + # - name: Your page name + # columns: + # - size: small + # widgets: + # # Add widgets here + + # - size: full + # widgets: + # # Add widgets here + + # - size: small + # widgets: + # # Add widgets here diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..17fe16c --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,13 @@ +services: + glance: + container_name: glance + image: glanceapp/glance + restart: unless-stopped + volumes: + - ./config:/app/config + - ./assets:/app/assets + # Optionally, also mount docker socket if you want to use the docker containers widget + # - /var/run/docker.sock:/var/run/docker.sock:ro + ports: + - 9080:8080 + #env_file: .env