AgentSkillsCN

homepage-settings

配置 homepage dashboard 的 settings.yaml 文件——包括主题、布局、提供商、快捷启动以及全局选项

SKILL.md
--- frontmatter
name: homepage-settings
description: Configure settings.yaml for Homepage dashboard - theme, layout, providers, quick launch, and global options
license: MIT
compatibility: opencode
metadata:
  project: homepage
  type: yaml-config

Homepage settings.yaml Configuration

Reference for application-level settings.

Structure

yaml
---
title: My Homepage
theme: dark
layout:
  GroupName:
    style: row
    columns: 4

Title & Branding

PropertyTypeDescription
titlestringPage title
descriptionstringMeta description
faviconstringURL or path to favicon
startUrlstringPWA URL (default "/")

Theme & Appearance

PropertyValues
themedark, light
colorslate, gray, zinc, neutral, stone, amber, yellow, lime, green, emerald, teal, cyan, sky, blue, indigo, violet, purple, fuchsia, pink, rose, red, white
cardBlurxs, sm, md, xl
headerStyleunderlined, boxed, clean, boxedWidgets
iconStylegradient, theme

Background

yaml
background:
  image: /images/background.png
  blur: sm
  saturate: 50
  brightness: 50
  opacity: 50

Note: Restart container when adding new images.

Layout

yaml
layout:
  Media:
    style: row
    columns: 4
    header: false
    initiallyCollapsed: true
    useEqualHeights: true
    icon: jellyfin.png
PropertyTypeDescription
stylestringrow or column
columnsnumber1-8
headerbooleanShow section header
initiallyCollapsedbooleanStart collapsed
useEqualHeightsbooleanEqual height cards
iconstringSection icon

Tabs

yaml
layout:
  Media:
    tab: First
    style: row
    columns: 4
  Downloads:
    tab: First
  Monitoring:
    tab: Second
  Always Visible:
    style: row # No tab = all tabs

Layout Behavior

PropertyTypeDescription
fullWidthbooleanUse full window width
maxGroupColumnsnumberMax group columns (default 4)
disableCollapsebooleanDisable collapsing
groupsInitiallyCollapsedbooleanCollapse all

Providers

Define shared API credentials:

yaml
providers:
  openweathermap: your-api-key
  longhorn:
    url: https://longhorn.example.com
    username: admin
    password: LonghornPassword

Use in widgets:

yaml
- openweathermap:
    provider: openweathermap # Instead of apiKey
    latitude: 50.449684
    longitude: 30.525026

Quick Launch

yaml
quicklaunch:
  searchDescriptions: true
  hideInternetSearch: false
  showSearchSuggestions: true
  provider: google # duckduckgo, bing, baidu, brave, custom

Custom provider:

yaml
quicklaunch:
  provider: custom
  url: https://www.ecosia.org/search?q=
  suggestionUrl: https://ac.ecosia.org/autocomplete?type=list&q=

Global Options

PropertyTypeDescription
targetstringDefault link target: _blank, _self
languagestringLocale: en, fr, de, etc.
hideVersionbooleanHide version number
showStatsbooleanShow all Docker stats
statusStylestringGlobal: dot, basic
hideErrorsbooleanHide widget errors
disableIndexingbooleanBlock search engines

Complete Example

yaml
---
title: My Dashboard
theme: dark
color: slate
headerStyle: boxed
useEqualHeights: true

layout:
  Media:
    style: row
    columns: 4
    icon: jellyfin.png
  Monitoring:
    style: row
    columns: 3
    initiallyCollapsed: true

providers:
  openweathermap: { { HOMEPAGE_VAR_WEATHER_KEY } }

quicklaunch:
  searchDescriptions: true
  provider: duckduckgo

target: _blank
showStats: true
statusStyle: dot