Dashy нужно помощь с виджитами

Всем привет, поставил dashyи применил код от samohosting, все четко, убрал что не надо поменял ссылки и картинки. Но с виджитами не понимаю. Я в коде не силен, могу чет поменять, убрать, а писать новые не умею.

Например хочу добавить виджит с моим ip. На сайте дают

type: public-ip

Но никак не могу сделать. Так же хочу объединить виджит крипто и курса доллора в 1 виджит, но тоже не получается, все ошибки выдает, то , не там то } не там

А вообще хочу что то вроде того как на картинке. Оба виджита, только на втором мониторить cpu и ram proxmoxa

Может кто че подскажет, куда смотреть, че искать, че пл читать.

Привет,

  1. Сорри за качество звука(встроенный микрофон) и отсутствие монтажа
    Решил ответить записью экрана ноутбука, пока пью кофе.

  2. Полезные ссылки
    Документация от разработчика дашборда
    Widgets | Dashy
    Примеры дашбордов с конфигами
    dashy/docs/showcase.md at master · Lissy93/dashy · GitHub

  3. Сам ответ

конфиг из видео
pageInfo:
  title: START.SAMOHOSTING.RU
  description: >-
    Все что нужно новичку в домашнем сервере - на однои дашборде | #1 Уровень.
    Установка только мышью.
  footerText: >-
    made by samohosting.ru . Big Thanks to @lissy93 for https://dashy.to/ .
    Связь со мной : email@samohosting.ru
  logo: >-
    https://raw.githubusercontent.com/LiaGen/samohosting/main/samohostinglogo6round.png
  navLinks: []
appConfig:
  theme: basic
  layout: auto
  iconSize: large
  language: ru
  statusCheck: false
  statusCheckInterval: 60
  showSplashScreen: false
  preventWriteToDisk: false
  preventLocalSave: false
  disableConfiguration: false
  disableConfigurationForNonAdmin: true
  allowConfigEdit: true
  enableServiceWorker: false
  disableContextMenu: false
  disableUpdateChecks: false
  disableSmartSort: true
  enableErrorReporting: false
  customColors:
    basic:
      primary: '#aabbc3'
      background: '#0b1021'
      background-darker: '#05070e'
      font-headings: '"Segoe UI","Ariel","sans-serif"'
      font-body: '"Roboto",serif'
      font-monospace: '"PTMono","Courier New",monospace'
sections:
  - name: Ссылки быстрого доступа
    icon: fas fa-list
    displayData:
      sortBy: default
      rows: 1
      cols: 1
      collapsed: false
      hideForGuests: false
    items:
      - &ref_0
        title: КАК ИСПОЛЬЗОВАТЬ ДАШБОРД
        description: by samohosting.ru
        icon: fab fa-youtube
        url: https://www.youtube.com/@samohosting
        target: newtab
        id: 0_22831_
      - &ref_1
        title: samohosting.ru
        description: сайт | youtube | telegram | чаты
        icon: >-
          https://raw.githubusercontent.com/LiaGen/samohosting/main/samohostinglogo4round.png
        url: https://www.samohosting.ru/
        target: newtab
        id: 1_22831_samohostingru
      - &ref_2
        title: доп. иконки для дашборда
        description: github repo
        icon: fab fa-github
        url: https://github.com/walkxcode/dashboard-icons
        target: newtab
        id: 2_22831_
    filteredItems:
      - *ref_0
      - *ref_1
      - *ref_2
  - name: Clock & Weather
    icon: far fa-clock
    displayData:
      collapsed: false
      hideForGuests: false
      sortBy: default
      rows: 1
      cols: 1
    widgets:
      - type: clock
        id: 0_1314_clock
      - type: public-ip
        options:
          provider: ipapi.co
        id: 1_1314_publicip
      - type: public-ip
        options:
          provider: ipapi.co
          apikey: ipapi.co
        id: 2_1314_publicip
    items:
      - &ref_3
        title: доп. иконки для дашборда
        description: github repo
        icon: fab fa-github
        url: https://github.com/walkxcode/dashboard-icons
        target: newtab
        id: 0_1314_
      - &ref_4
        title: samohosting.ru
        description: сайт | youtube | telegram | чаты
        icon: >-
          https://raw.githubusercontent.com/LiaGen/samohosting/main/samohostinglogo4round.png
        url: https://www.samohosting.ru/
        target: newtab
        id: 1_1314_samohostingru
    filteredItems:
      - *ref_3
      - *ref_4
  - name: Test
    icon: far fa-alarm-clock
    displayData:
      collapsed: false
      hideForGuests: false
      sortBy: default
      rows: 1
      cols: 1
    widgets:
      - type: clock
        id: 0_416_clock
      - type: weather
        options:
          apiKey: efdbade728b37086877a5e83442004db
          city: Moscow
        id: 1_416_weather
      - type: system-info
        id: 2_416_systeminfo
      - type: public-ip
        options:
          provider: ipapi.co
          apikey: ipapi.co
        id: 3_416_publicip
    items:
      - &ref_5
        title: samohosting.ru
        description: сайт | youtube | telegram | чаты
        icon: >-
          https://raw.githubusercontent.com/LiaGen/samohosting/main/samohostinglogo4round.png
        url: https://www.samohosting.ru/
        target: newtab
        id: 0_416_samohostingru
    filteredItems:
      - *ref_5
  - name: Сервера и Сервисы
    icon: fas fa-server
    items:
      - &ref_6
        title: Proxmox Server WEBUI
        description: отредактируйте ссылку
        icon: >-
          https://cdn.jsdelivr.net/gh/walkxcode/dashboard-icons/png/proxmox-light.png
        url: http://IP_ВАШЕГО_PROXMOX:8006/
        target: newtab
        statusCheck: true
        statusCheckAllowInsecure: true
        statusCheckAcceptCodes: '200'
        id: 0_16241_proxmoxserverwebui
      - &ref_7
        title: Runtipi. Магазин приложений
        description: тут вы найдете много интересного
        icon: https://runtipi.io/_next/static/media/tipi.c0b9b68e.png
        url: http://192.168.1.145:80
        target: newtab
        statusCheck: true
        statusCheckAllowInsecure: true
        statusCheckAcceptCodes: '200'
        id: 1_16241_runtipi
      - &ref_8
        title: SAMBA
        description: Ваш сервис для доступа внешних устройств по протоколу smb
        icon: https://www.muylinux.com/wp-content/uploads/2016/03/Samba-4.4.jpg
        url: http://192.168.1.145:5001/compose/samba
        target: newtab
        statusCheckAllowInsecure: true
        statusCheckAcceptCodes: '200'
        statusCheck: true
        id: 2_16241_samba
      - &ref_9
        title: Home-Assistant
        description: ваш сервис управления умным домом
        icon: >-
          https://cdn.jsdelivr.net/gh/walkxcode/dashboard-icons/png/home-assistant.png
        url: http://192.168.1.145/app-store/migrated/homeassistant-1
        target: newtab
        statusCheck: true
        statusCheckAllowInsecure: true
        statusCheckAcceptCodes: '200'
        id: 3_16241_homeassistant
      - &ref_10
        title: Syncthing
        description: сервис синхронизации Ваших данных
        icon: >-
          https://cdn.jsdelivr.net/gh/walkxcode/dashboard-icons/png/syncthing.png
        url: http://192.168.1.145/app-store/migrated/syncthing
        target: newtab
        statusCheck: true
        statusCheckAllowInsecure: true
        statusCheckAcceptCodes: '200'
        id: 4_16241_syncthing
      - &ref_11
        title: Веб-файл браузер
        description: >-
          login admin, пароль генерируется в логах =>
          http://192.168.1.145:5001/compose/filebrowser
        icon: >-
          https://cdn.jsdelivr.net/gh/walkxcode/dashboard-icons/png/filebrowser.png
        url: http://192.168.1.145:1001
        target: newtab
        statusCheck: true
        statusCheckAllowInsecure: true
        statusCheckAcceptCodes: '200'
        id: 5_16241_
      - &ref_12
        title: доп. иконки для дашборда
        description: github repo
        icon: fab fa-github
        url: https://github.com/walkxcode/dashboard-icons
        target: newtab
        id: 6_16241_
    displayData:
      sortBy: default
      rows: 1
      cols: 2
      collapsed: false
      hideForGuests: false
    filteredItems:
      - *ref_6
      - *ref_7
      - *ref_8
      - *ref_9
      - *ref_10
      - *ref_11
      - *ref_12
  - name: Фото и Видео
    icon: fas fa-camera-retro
    displayData:
      sortBy: default
      rows: 1
      cols: 1
      collapsed: false
      hideForGuests: false
    items:
      - &ref_13
        title: Nextcloud
        description: Ваше домашнее облако
        icon: >-
          https://cdn.jsdelivr.net/gh/walkxcode/dashboard-icons/png/nextcloud.png
        url: http://192.168.1.145/app-store/migrated/nextcloud
        target: newtab
        statusCheck: true
        statusCheckAllowInsecure: true
        id: 0_10827_nextcloud
      - &ref_14
        title: Immich.
        description: Фото и Видео галлерея и бекапы
        icon: https://cdn.jsdelivr.net/gh/walkxcode/dashboard-icons/png/immich.png
        url: http://192.168.1.145/app-store/migrated/immich
        target: newtab
        statusCheck: true
        statusCheckAllowInsecure: true
        id: 1_10827_immich
      - &ref_15
        title: PhotoPrism
        description: Фото и Видео галлерея и бекапы
        icon: >-
          https://cdn.jsdelivr.net/gh/walkxcode/dashboard-icons/png/photoprism.png
        url: http://192.168.1.145/app-store/migrated/photoprism
        target: newtab
        statusCheck: true
        statusCheckAllowInsecure: true
        id: 2_10827_photoprism
    filteredItems:
      - *ref_13
      - *ref_14
      - *ref_15
  - name: Медиа
    icon: fas fa-play
    displayData:
      sortBy: default
      rows: 1
      cols: 1
      collapsed: false
      hideForGuests: false
    items:
      - &ref_16
        title: Медиа сервер для аудио и видео
        description: Jellyfin home media platform
        icon: https://cdn.jsdelivr.net/gh/walkxcode/dashboard-icons/png/jellyfin.png
        url: http://192.168.1.145/app-store/migrated/jellyfin
        target: newtab
        id: 0_5357_
      - &ref_17
        title: Сохраняем видео \ аудио с ютуба
        description: MeTube YouTube downloader
        icon: https://cdn.jsdelivr.net/gh/walkxcode/dashboard-icons/png/metube.png
        url: http://192.168.1.145/app-store/migrated/metube
        target: newtab
        id: 1_5357_
      - &ref_18
        title: Веб клиент qBittorrent
        description: живет в докере, качает ваши линус образы в NAS
        icon: >-
          https://cdn.jsdelivr.net/gh/walkxcode/dashboard-icons/png/qbittorrent.png
        url: http://192.168.1.145/app-store/migrated/qbittorrent
        target: newtab
        id: 2_5357_qbittorrent
    filteredItems:
      - *ref_16
      - *ref_17
      - *ref_18
  - name: Инструменты
    icon: fas fa-pencil
    displayData:
      sortBy: default
      rows: 1
      cols: 2
      collapsed: false
      hideForGuests: false
    items:
      - &ref_19
        title: Создание диаграмм
        description: draw.io
        icon: https://cdn.jsdelivr.net/gh/walkxcode/dashboard-icons/png/draw-io.png
        url: http://192.168.1.145/app-store/migrated/drawio
        target: newtab
        statusCheck: true
        statusCheckAllowInsecure: true
        id: 0_11926_
      - &ref_20
        title: Заметки
        description: Memos
        icon: https://cdn.jsdelivr.net/gh/walkxcode/dashboard-icons/png/memos.png
        url: http://192.168.1.145/app-store/migrated/memos
        target: newtab
        id: 1_11926_
      - &ref_21
        title: Заметки
        description: Triilium
        icon: https://cdn.jsdelivr.net/gh/walkxcode/dashboard-icons/png/trilium.png
        url: http://192.168.1.145/app-store/migrated/trilium
        target: newtab
        id: 2_11926_
      - &ref_22
        title: Affine
        description: альтернатива Notion, Miro, Airtable
        icon: >-
          https://raw.githubusercontent.com/runtipi/runtipi-appstore/refs/heads/master/apps/affine/metadata/logo.jpg
        url: http://192.168.1.145/app-store/migrated/affine
        target: newtab
        statusCheck: true
        statusCheckAllowInsecure: true
        id: 3_11926_affine
      - &ref_23
        title: Excalidraw
        description: белая доска
        icon: >-
          https://cdn.jsdelivr.net/gh/walkxcode/dashboard-icons/png/excalidraw.png
        url: http://192.168.1.145/app-store/migrated/excalidraw
        target: newtab
        statusCheck: true
        statusCheckAllowInsecure: true
        id: 4_11926_excalidraw
      - &ref_24
        title: Stirling-pdf
        description: сервис для работы с PDF
        icon: >-
          https://raw.githubusercontent.com/Stirling-Tools/Stirling-PDF/main/docs/stirling.png
        url: http://192.168.1.145/app-store/migrated/stirling-pdf
        target: newtab
        statusCheck: true
        statusCheckAllowInsecure: true
        id: 5_11926_stirlingpdf
      - &ref_25
        title: Penpot
        description: Figma в мире опенсорс
        icon: >-
          https://cdn.jsdelivr.net/gh/walkxcode/dashboard-icons/png/penpot-light.png
        url: http://192.168.1.145/app-store/migrated/penpot
        target: newtab
        statusCheck: true
        statusCheckAllowInsecure: true
        id: 6_11926_penpot
    filteredItems:
      - *ref_19
      - *ref_20
      - *ref_21
      - *ref_22
      - *ref_23
      - *ref_24
      - *ref_25
  - name: Проекты\Задачи
    icon: far fa-calendar-check
    displayData:
      sortBy: default
      rows: 1
      cols: 1
      collapsed: false
      hideForGuests: false
    items:
      - &ref_26
        title: Kanboard
        description: канбан доска
        icon: https://cdn.jsdelivr.net/gh/walkxcode/dashboard-icons/png/kanboard.png
        url: http://192.168.1.145/app-store/migrated/kanboard
        target: newtab
        statusCheck: true
        statusCheckAllowInsecure: true
        id: 0_14111_kanboard
      - &ref_27
        title: Planka
        description: канбан доска
        icon: https://cdn.jsdelivr.net/gh/walkxcode/dashboard-icons/png/planka.png
        url: http://192.168.1.145/app-store/migrated/planka
        target: newtab
        statusCheck: true
        statusCheckAllowInsecure: true
        id: 1_14111_planka
      - &ref_28
        title: Vikunja
        description: список задач
        icon: https://cdn.jsdelivr.net/gh/walkxcode/dashboard-icons/png/vikunja.png
        url: http://192.168.1.145/app-store/migrated/vikunja
        target: newtab
        statusCheck: true
        statusCheckAllowInsecure: true
        id: 2_14111_vikunja
    filteredItems:
      - *ref_26
      - *ref_27
      - *ref_28
  - name: Сеть и Безопасность
    icon: far fa-user-shield
    displayData:
      sortBy: default
      rows: 1
      cols: 1
      collapsed: false
      hideForGuests: false
    items:
      - &ref_29
        title: Pi-hole
        description: DNS + Блокировка рекламы
        icon: https://cdn.jsdelivr.net/gh/walkxcode/dashboard-icons/png/pi-hole.png
        url: http://192.168.1.145/app-store/migrated/pihole
        target: newtab
        statusCheck: true
        statusCheckAllowInsecure: true
        statusCheckAcceptCodes: '200'
        id: 0_18449_pihole
      - &ref_30
        title: AdGuard Home
        description: блок рекламы и днс
        icon: >-
          https://cdn.jsdelivr.net/gh/walkxcode/dashboard-icons/png/adguard-home.png
        url: http://192.168.1.145/app-store/migrated/adguard
        target: newtab
        id: 1_18449_adguardhome
      - &ref_31
        title: Сrowdsec
        description: Ваш личный ВЫШИБАЛА(да, как в баре, только для сетевого трафика)
        icon: https://cdn.jsdelivr.net/gh/walkxcode/dashboard-icons/png/crowdsec.png
        url: http://192.168.1.145/app-store/migrated/crowdsec
        target: newtab
        statusCheck: true
        statusCheckAllowInsecure: true
        statusCheckAcceptCodes: '200'
        id: 2_18449_rowdsec
      - &ref_32
        title: Watchyourlan
        description: ip сканер устройств в Вашей сети
        icon: >-
          https://cdn.jsdelivr.net/gh/walkxcode/dashboard-icons/png/watchyourlan.png
        url: http://192.168.1.145/app-store/migrated/watchyourlan
        target: newtab
        statusCheck: true
        statusCheckAllowInsecure: true
        statusCheckAcceptCodes: '200'
        id: 3_18449_watchyourlan
    filteredItems:
      - *ref_29
      - *ref_30
      - *ref_31
      - *ref_32
  - name: Мониторинги
    icon: fas fa-chart-line
    displayData:
      sortBy: default
      rows: 1
      cols: 1
      collapsed: false
      hideForGuests: false
    items:
      - &ref_33
        title: Glances
        description: Мониторинг Вашего сервера
        icon: >-
          https://raw.githubusercontent.com/runtipi/runtipi-appstore/refs/heads/master/apps/glances/metadata/logo.jpg
        url: http://192.168.1.145:1002/
        target: newtab
        statusCheck: true
        statusCheckAllowInsecure: true
        statusCheckAcceptCodes: '200'
        id: 0_11887_glances
      - &ref_34
        title: Мониторинг
        description: Uptime-Kuma
        icon: >-
          https://cdn.jsdelivr.net/gh/walkxcode/dashboard-icons/png/uptime-kuma.png
        url: http://192.168.1.145/app-store/migrated/uptime-kuma
        target: newtab
        statusCheck: true
        statusCheckAllowInsecure: true
        id: 1_11887_
      - &ref_35
        title: Gotify
        description: личный сервер уведомлений
        icon: https://cdn.jsdelivr.net/gh/walkxcode/dashboard-icons/png/gotify.png
        url: http://192.168.1.145/app-store/migrated/gotify
        target: newtab
        statusCheck: true
        statusCheckAllowInsecure: true
        id: 2_11887_gotify
    filteredItems:
      - *ref_33
      - *ref_34
      - *ref_35
  - name: AI
    icon: far fa-robot
    displayData:
      sortBy: default
      rows: 1
      cols: 1
      collapsed: false
      hideForGuests: false
    items:
      - &ref_36
        title: Ollama
        description: Ваш личный AI
        icon: >-
          https://raw.githubusercontent.com/runtipi/runtipi-appstore/refs/heads/master/apps/ollama-cpu/metadata/logo.jpg
        url: http://192.168.1.145/app-store/migrated/ollama-cpu
        target: newtab
        statusCheck: true
        statusCheckAllowInsecure: true
        statusCheckAcceptCodes: '200'
        id: 0_138_ollama
      - &ref_37
        title: Open-webui
        description: Web чат интерфейс для Ollama
        icon: >-
          https://cdn.jsdelivr.net/gh/walkxcode/dashboard-icons@master/png/open-webui-light.png
        url: http://192.168.1.145/app-store/migrated/open-webui
        target: newtab
        statusCheck: true
        statusCheckAllowInsecure: true
        statusCheckAcceptCodes: '200'
        id: 1_138_openwebui
      - &ref_38
        title: Serge
        description: Web-интерфейс с llama.cpp для моделей Alpaca
        icon: >-
          https://raw.githubusercontent.com/runtipi/runtipi-appstore/refs/heads/master/apps/serge/metadata/logo.jpg
        url: http://192.168.1.145/app-store/migrated/serge
        target: newtab
        statusCheck: true
        statusCheckAllowInsecure: true
        statusCheckAcceptCodes: '200'
        id: 2_138_serge
    filteredItems:
      - *ref_36
      - *ref_37
      - *ref_38
  - name: Виртуальные машины
    icon: fas fa-desktop
    displayData:
      sortBy: default
      rows: 1
      cols: 1
      collapsed: false
      hideForGuests: false
    items:
      - &ref_39
        title: Windows
        description: виртуальная машина
        icon: >-
          https://cdn.jsdelivr.net/gh/walkxcode/dashboard-icons/png/windows-10.png
        url: http://192.168.1.145/app-store/migrated/windows
        target: newtab
        id: 0_18455_windows
    filteredItems:
      - *ref_39
  - name: Авторизация и пароли
    icon: far fa-user-lock
    displayData:
      sortBy: default
      rows: 1
      cols: 1
      collapsed: false
      hideForGuests: false
    items:
      - &ref_40
        title: Authentik
        description: личный сервис авторизации
        icon: >-
          https://cdn.jsdelivr.net/gh/walkxcode/dashboard-icons/png/authentik.png
        url: http://192.168.1.145/app-store/migrated/authentik
        target: newtab
        id: 0_19526_authentik
      - &ref_41
        title: Vaultwarden
        description: храним пароли на своем сервере
        icon: >-
          https://cdn.jsdelivr.net/gh/walkxcode/dashboard-icons/png/vaultwarden-light.png
        url: http://192.168.1.145/app-store/migrated/vaultwarden
        target: newtab
        id: 1_19526_vaultwarden
    filteredItems:
      - *ref_40
      - *ref_41
  - name: Уголок разработчика
    icon: far fa-code
    displayData:
      sortBy: default
      rows: 1
      cols: 1
      collapsed: false
      hideForGuests: false
    items:
      - &ref_42
        title: it-tools
        description: набор полезных утилит
        icon: >-
          https://cdn.jsdelivr.net/gh/walkxcode/dashboard-icons/png/it-tools-light.png
        url: http://192.168.1.145/app-store/migrated/it-tools
        target: newtab
        statusCheck: true
        statusCheckAllowInsecure: true
        statusCheckAcceptCodes: '200'
        id: 0_19480_ittools
      - &ref_43
        title: Gitea
        description: git сервис
        icon: https://cdn.jsdelivr.net/gh/walkxcode/dashboard-icons/png/gitea.png
        url: http://192.168.1.145/app-store/migrated/gitea
        target: newtab
        statusCheck: true
        statusCheckAllowInsecure: true
        statusCheckAcceptCodes: '200'
        id: 1_19480_gitea
    filteredItems:
      - *ref_42
      - *ref_43
  - name: Ваши Ссылки
    icon: fas fa-link
    displayData:
      sortBy: default
      rows: 1
      cols: 1
      collapsed: false
      hideForGuests: false
    items:
      - &ref_44
        title: Hackers News
        description: news.ycombinator.com/newest
        icon: fas fa-newspaper
        url: https://news.ycombinator.com/newest
        id: 0_10812_hackersnews
      - &ref_45
        title: Почта
        description: Ваш почтовый ящик
        icon: >-
          https://cdn.jsdelivr.net/gh/walkxcode/dashboard-icons/png/synology-mail-plus.png
        url: https://www.samohosting.ru/
        target: newtab
        id: 1_10812_
    filteredItems:
      - *ref_44
      - *ref_45
pages:
  - name: '#2 Уровень. Docker и Helper-Scripts'
    path: /conf2.yml
    displayData:
      hideForGuests: false

сам видео ответ

1 лайк

Спасибо большое начальник!! Наконец то дошло. Я когда редактировал всегда CODE открывал, а там вечно проблемы с { } , ][ ““ то не там поставил, то не открыл то не закрыл… не шарю маленько. А теперь через tree по проще, не надо думать за все эти кавычки и скобочки.

Благодарствую за видос и время!

1 лайк