# homer-dashboard/homer architecture

> Architecture diagram of the GitHub repository homer-dashboard/homer, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-28). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/homer-dashboard/homer
- Repository: https://github.com/homer-dashboard/homer

## Overview

Homer is a static, YAML-configured homepage for self-hosted services. A visitor loads the dashboard; the app fetches and merges configuration (including hash-selected pages), then renders grouped service cards and dashboard controls. Specialized cards can fetch service APIs and refresh their data through a shared mixin and scheduler. The README also documents fuzzy search, themes, smart cards, and multi-page/grouped layouts. Some feature wiring is only partly sampled, so omitted links should not be read as absent capabilities.

Main entry points: [`src/App.vue`](https://github.com/homer-dashboard/homer/blob/main/src/App.vue) (Dashboard app), [`src/components/services`](https://github.com/homer-dashboard/homer/tree/main/src/components/services) (Smart card adapters), [`src/components/ServiceGroup.vue`](https://github.com/homer-dashboard/homer/blob/main/src/components/ServiceGroup.vue) (Service groups), [`src/components/Service.vue`](https://github.com/homer-dashboard/homer/blob/main/src/components/Service.vue) (Card dispatcher)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_dashboard["Dashboard shell"]
  node_entry["Vue entry<br/>[main.js]"]
  node_app["Dashboard app<br/>[App.vue]"]
end

subgraph group_presentation["Dashboard features"]
  node_nav["Navigation<br/>[Navbar.vue]"]
  node_search["Fuzzy search<br/>[SearchInput.vue]"]
  node_themes["Theme controls<br/>[DarkMode.vue]"]
  node_dynamic_theme["Custom themes<br/>[DynamicTheme.vue]"]
  node_connectivity["Connectivity check"]
  node_messages["Dashboard messages<br/>[Message.vue]"]
  node_getting_started["Setup guidance<br/>[GetStarted.vue]"]
  node_settings["Layout setting<br/>[SettingToggle.vue]"]
end

subgraph group_cards["Service cards"]
  node_groups["Service groups<br/>[ServiceGroup.vue]"]
  node_group_header["Group heading<br/>[GroupHeader.vue]"]
  node_dispatcher["Card dispatcher<br/>[Service.vue]"]
  node_generic["Generic card<br/>[Generic.vue]"]
  node_service_cards["Smart card adapters"]
end

subgraph group_runtime["Card runtime"]
  node_service_mixin["Service mixin<br/>[service.js]"]
  node_scheduler["Update scheduler<br/>[updateScheduler.js]"]
  node_format["Display formatting<br/>[format.js]"]
end

node_visitor(("Visitor"))
node_config["YAML config"]
node_service_api["Service APIs"]

node_visitor -->|"opens dashboard"| node_entry
node_entry -->|"mounts"| node_app
node_config -->|"configures"| node_app
node_app -->|"fetches YAML"| node_config
node_app -->|"renders"| node_nav
node_app -->|"renders"| node_search
node_app -->|"renders"| node_themes
node_app -->|"renders"| node_dynamic_theme
node_app -->|"renders"| node_connectivity
node_app -->|"renders"| node_messages
node_app -->|"renders"| node_getting_started
node_app -->|"renders"| node_settings
node_app -->|"renders"| node_groups
node_groups -->|"renders cards"| node_dispatcher
node_groups -->|"renders headings"| node_group_header
node_dispatcher -->|"renders generic"| node_generic
node_dispatcher -->|"loads by type"| node_service_cards
node_service_cards -->|"renders card"| node_generic
node_service_cards -->|"uses mixin"| node_service_mixin
node_service_cards -->|"requests status"| node_service_api
node_service_mixin -->|"registers refresh"| node_scheduler
node_service_mixin -->|"fetches data"| node_service_api
node_generic -->|"formats counts"| node_format

click node_entry "https://github.com/homer-dashboard/homer/blob/main/src/main.js"
click node_app "https://github.com/homer-dashboard/homer/blob/main/src/App.vue"
click node_nav "https://github.com/homer-dashboard/homer/blob/main/src/components/Navbar.vue"
click node_search "https://github.com/homer-dashboard/homer/blob/main/src/components/SearchInput.vue"
click node_themes "https://github.com/homer-dashboard/homer/blob/main/src/components/DarkMode.vue"
click node_dynamic_theme "https://github.com/homer-dashboard/homer/blob/main/src/components/DynamicTheme.vue"
click node_connectivity "https://github.com/homer-dashboard/homer/blob/main/src/components/ConnectivityChecker.vue"
click node_messages "https://github.com/homer-dashboard/homer/blob/main/src/components/Message.vue"
click node_getting_started "https://github.com/homer-dashboard/homer/blob/main/src/components/GetStarted.vue"
click node_settings "https://github.com/homer-dashboard/homer/blob/main/src/components/SettingToggle.vue"
click node_groups "https://github.com/homer-dashboard/homer/blob/main/src/components/ServiceGroup.vue"
click node_group_header "https://github.com/homer-dashboard/homer/blob/main/src/components/GroupHeader.vue"
click node_dispatcher "https://github.com/homer-dashboard/homer/blob/main/src/components/Service.vue"
click node_generic "https://github.com/homer-dashboard/homer/blob/main/src/components/services/Generic.vue"
click node_service_cards "https://github.com/homer-dashboard/homer/tree/main/src/components/services"
click node_service_mixin "https://github.com/homer-dashboard/homer/blob/main/src/mixins/service.js"
click node_scheduler "https://github.com/homer-dashboard/homer/blob/main/src/utils/updateScheduler.js"
click node_format "https://github.com/homer-dashboard/homer/blob/main/src/utils/format.js"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_entry,node_app toneBlue
class node_nav,node_search,node_themes,node_dynamic_theme,node_connectivity,node_messages,node_getting_started,node_settings toneAmber
class node_groups,node_group_header,node_dispatcher,node_generic,node_service_cards,node_service_api toneMint
class node_service_mixin,node_scheduler,node_format toneRose
class node_visitor,node_config toneIndigo
```

## Components

### Dashboard shell

- [Vue entry](https://github.com/homer-dashboard/homer/blob/main/src/main.js): `src/main.js`
- [Dashboard app](https://github.com/homer-dashboard/homer/blob/main/src/App.vue): `src/App.vue`

### Dashboard features

- [Navigation](https://github.com/homer-dashboard/homer/blob/main/src/components/Navbar.vue): `src/components/Navbar.vue`
- [Fuzzy search](https://github.com/homer-dashboard/homer/blob/main/src/components/SearchInput.vue): `src/components/SearchInput.vue`
- [Theme controls](https://github.com/homer-dashboard/homer/blob/main/src/components/DarkMode.vue): `src/components/DarkMode.vue`
- [Custom themes](https://github.com/homer-dashboard/homer/blob/main/src/components/DynamicTheme.vue): `src/components/DynamicTheme.vue`
- [Connectivity check](https://github.com/homer-dashboard/homer/blob/main/src/components/ConnectivityChecker.vue): `src/components/ConnectivityChecker.vue`
- [Dashboard messages](https://github.com/homer-dashboard/homer/blob/main/src/components/Message.vue): `src/components/Message.vue`
- [Setup guidance](https://github.com/homer-dashboard/homer/blob/main/src/components/GetStarted.vue): `src/components/GetStarted.vue`
- [Layout setting](https://github.com/homer-dashboard/homer/blob/main/src/components/SettingToggle.vue): `src/components/SettingToggle.vue`

### Service cards

- [Service groups](https://github.com/homer-dashboard/homer/blob/main/src/components/ServiceGroup.vue): `src/components/ServiceGroup.vue`
- [Group heading](https://github.com/homer-dashboard/homer/blob/main/src/components/GroupHeader.vue): `src/components/GroupHeader.vue`
- [Card dispatcher](https://github.com/homer-dashboard/homer/blob/main/src/components/Service.vue): `src/components/Service.vue`
- [Generic card](https://github.com/homer-dashboard/homer/blob/main/src/components/services/Generic.vue): `src/components/services/Generic.vue`
- [Smart card adapters](https://github.com/homer-dashboard/homer/tree/main/src/components/services): `src/components/services`

### Card runtime

- [Service mixin](https://github.com/homer-dashboard/homer/blob/main/src/mixins/service.js): `src/mixins/service.js`
- [Update scheduler](https://github.com/homer-dashboard/homer/blob/main/src/utils/updateScheduler.js): `src/utils/updateScheduler.js`
- [Display formatting](https://github.com/homer-dashboard/homer/blob/main/src/utils/format.js): `src/utils/format.js`

### Other components

- **Visitor**
- **YAML config**
- **Service APIs**

## Connections

- Visitor → Vue entry: opens dashboard (evidence: `README.md`)
- Vue entry → Dashboard app: mounts (evidence: `src/main.js`)
- YAML config → Dashboard app: configures (evidence: `src/App.vue`)
- Dashboard app → YAML config: fetches YAML (evidence: `src/App.vue`)
- Dashboard app → Navigation: renders (evidence: `src/App.vue`)
- Dashboard app → Fuzzy search: renders (evidence: `src/App.vue`)
- Dashboard app → Theme controls: renders (evidence: `src/App.vue`)
- Dashboard app → Custom themes: renders (evidence: `src/App.vue`)
- Dashboard app → Connectivity check: renders (evidence: `src/App.vue`)
- Dashboard app → Dashboard messages: renders (evidence: `src/App.vue`)
- Dashboard app → Setup guidance: renders (evidence: `src/App.vue`)
- Dashboard app → Layout setting: renders (evidence: `src/App.vue`)
- Dashboard app → Service groups: renders (evidence: `src/App.vue`)
- Service groups → Card dispatcher: renders cards (evidence: `src/components/ServiceGroup.vue`)
- Service groups → Group heading: renders headings (evidence: `src/components/ServiceGroup.vue`)
- Card dispatcher → Generic card: renders generic (evidence: `src/components/Service.vue`)
- Card dispatcher → Smart card adapters: loads by type (evidence: `src/components/Service.vue`)
- Smart card adapters → Generic card: renders card (evidence: `src/components/services/Authelia.vue`)
- Smart card adapters → Service mixin: uses mixin (evidence: `src/components/services/Authelia.vue`)
- Smart card adapters → Service APIs: requests status (evidence: `src/components/services/Authelia.vue`)
- Service mixin → Update scheduler: registers refresh (evidence: `src/mixins/service.js`)
- Service mixin → Service APIs: fetches data (evidence: `src/mixins/service.js`)
- Generic card → Display formatting: formats counts (evidence: `src/components/services/Generic.vue`)
