feat: homepage

This commit is contained in:
auricom
2024-05-13 21:31:02 +02:00
parent f78a0fe9e1
commit d3d6cb4b24
12 changed files with 389 additions and 0 deletions

View File

@@ -0,0 +1,27 @@
- Communitcate:
- Discord:
- icon: discord.png
href: 'https://discord.com/app'
- Mail:
- icon: gmail.png
href: 'https://www.fastmail.com/mail/inbox'
- GoogleCalendar:
- icon: google-calendar.png
href: 'https://www.fastmail.com/calendar'
- Outlook:
- icon: 'https://raw.githubusercontent.com/LilDrunkenSmurf/k3s-home-cluster/main/icons/outlook.png'
href: 'https://outlook.com'
- Media:
- YouTube:
- icon: youtube.png
href: 'https://youtube.com/feed/subscriptions'
- Spotify:
- icon: spotify.png
href: 'http://open.spotify.com'
- Git:
- kubesearch:
- icon: kubernetes-dashboard.png
href: 'https://kubesearch.dev/'
- k3s-home-cluster:
- icon: github.png
href: 'https://github.com/haraldkoch/kochhaus-home'

View File

@@ -0,0 +1 @@
---

View File

@@ -0,0 +1,2 @@
---
mode: cluster

View File

@@ -0,0 +1,51 @@
---
- Home:
- HomeAssistant:
href: https://hass.${SECRET_EXTERNAL_DOMAIN}
icon: home-assistant.png
description: Home Assistant
widget:
type: homeassistant
url: https://hass.${SECRET_EXTERNAL_DOMAIN}
key: "{{HOMEPAGE_VAR_HASS_TOKEN}}"
- Media:
- Sonarr:
href: https://sonarr.${SECRET_EXTERNAL_DOMAIN}
siteMonitor: https://sonarr.${SECRET_EXTERNAL_DOMAIN}
icon: sonarr.png
description: TV Shows
widget:
type: sonarr
url: http://sonarr.default.svc.cluster.local.:8080
key: {{HOMEPAGE_VAR_SONARR_TOKEN}}
- Radarr:
href: https://radarr.${SECRET_EXTERNAL_DOMAIN}
siteMonitor: https://radarr.${SECRET_EXTERNAL_DOMAIN}
icon: radarr.png
description: Movies
widget:
type: radarr
url: http://radarr.default.svc.cluster.local.:8080
key: {{HOMEPAGE_VAR_RADARR_TOKEN}}
- Lidarr:
href: https://lidarr.${SECRET_EXTERNAL_DOMAIN}
siteMonitor: https://lidarr.${SECRET_EXTERNAL_DOMAIN}
icon: lidarr.png
description: Music
widget:
type: lidarr
url: http://lidarr.default.svc.cluster.local.:8080
key: {{HOMEPAGE_VAR_LIDARR_TOKEN}}
- Calendar:
- Agenda:
widget:
type: calendar
view: agenda # optional - possible values monthly, agenda
maxEvents: 5 # optional - defaults to 10
integrations: # optional
- type: sonarr # active widget type that is currently enabled on homepage - possible values: radarr, sonarr>
service_group: Media # group name where widget exists
service_name: Sonarr # service name for that widget
- type: radarr # active widget type that is currently enabled on homepage - possible values: radarr, sonarr>
service_group: Media # group name where widget exists
service_name: Radarr # service name for that widget

View File

@@ -0,0 +1,31 @@
---
title: Dashboard
favicon: https://cdn.jsdelivr.net/gh/walkxcode/dashboard-icons/png/homepage.png
theme: dark
color: slate
headerStyle: clean
layout:
Calendar:
style: column
icon: mdi-calendar
Media:
style: column
icon: mdi-play-circle
Infrastructure:
style: row
columns: 3
icon: mdi-server
Storage:
style: row
columns: 2
icon: mdi-desktop-tower
Home:
style: column
icon: mdi-home-analytics
Observability:
style: column
icon: mdi-chart-line
Downloads:
style: row
columns: 3
icon: mdi-download-circle

View File

@@ -0,0 +1,35 @@
---
#- logo:
# icon: https://raw.githubusercontent.com/LilDrunkenSmurf/k3s-home-cluster/main/icons/lds-transparent.png
- search:
provider: [duckduckgo, google]
focus: false
target: _blank
- greeting:
text_size: xl
text: "Greetings, Citizen."
- kubernetes:
cluster:
cpu: true
label: cluster
memory: true
show: true
showLabel: true
nodes:
cpu: true
memory: true
show: false
showLabel: true
- openmeteo:
label: Home
latitude: ${LATITUDE}
longitude: ${LONGITUDE}
timezone: America/Toronto
units: metric
cache: 5
- datetime:
text_size: l
format:
dateStyle: long
timeStyle: short
hourCycle: h23