feat: конфигурация Glance с виджетами и скриптами развертывания

- Главная конфигурация home.yml и виджеты (countdown, qbittorrent)
- PowerShell и Bash скрипты для автоматической загрузки на сервер
- Обновлен README с документацией
This commit is contained in:
2025-12-06 09:45:17 +03:00
parent c9748f1bbd
commit abd62d8f73
8 changed files with 987 additions and 1 deletions

60
home.yml Normal file
View File

@@ -0,0 +1,60 @@
theme:
name: nord
pages:
- name: Home
columns:
- size: small
widgets:
- type: calendar
first-day-of-week: monday
- type: repository
repository: awesome-selfhosted/awesome-selfhosted
- type: rss
title: News
limit: 5
feeds:
- url: https://habr.com/ru/rss/all/
title: Habr
- size: full
widgets:
- type: search
search-engine: google
- $include: widgets/countdown.yml
- $include: widgets/bookmarks-general.yml
- $include: widgets/bookmarks-homelab.yml
- size: small
widgets:
- type: clock
title: Time
- type: to-do
- type: custom-api
title: Immich stats
cache: 1d
url: http://192.168.50.101:2283/api/server/statistics
headers:
x-api-key: izNdobgXRRg7agxZzEQvNEKpsnwPT8x0cs6Vi7E
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: dns-stats
service: adguard
url: http://192.168.50.2/
username: Dokril
password: baHYc2VgeRJfdZ
- $include: widgets/qbittorrent.yml