[
{
name = "Home";
columns = [
{
size = "small";
widgets = [
{
type = "calendar";
"first-day-of-week" = "monday";
}
{
type = "server-stats";
servers = [
{
type = "local";
}
];
}
{
type = "custom-api";
title = "Uptime Kuma";
title-url = "http://status.eisen";
url = "http://status.eisen/api/status-page/base";
subrequests = {
heartbeats = {
url = "http://status.eisen/api/status-page/heartbeat/base";
};
};
cache = "10m";
template = ''
{{ $hb := .Subrequest "heartbeats" }}
{{ if not (.JSON.Exists "publicGroupList") }}
Error reading response
{{ else if eq (len (.JSON.Array "publicGroupList")) 0 }}
No monitors found
{{ else }}
{{ end }}
'';
}
];
}
{
size = "full";
widgets = [
{
type = "group";
widgets = [
{ type = "hacker-news"; }
{ type = "lobsters"; }
];
}
{
type = "monitor";
cache = "1m";
title = "Services";
sites = [
{
title = "Jellyfin";
url = "http://jellyfin.eisen.danbulant.cloud";
icon = "si:jellyfin";
}
{
title = "qBittorrent";
url = "http://qb.eisen.danbulant.cloud";
icon = "si:qbittorrent";
}
{
title = "Radarr";
url = "http://radarr.eisen.danbulant.cloud";
icon = "si:radarr";
}
{
title = "Sonarr";
url = "http://sonarr.eisen.danbulant.cloud";
icon = "si:sonarr";
}
{
title = "Prowlarr";
url = "http://prowlarr.eisen.danbulant.cloud";
icon = "si:prowlarr";
}
{
title = "Vaultwarden";
url = "https://vaultwarden.danbulant.cloud";
icon = "si:vaultwarden";
}
{
title = "Nextcloud";
url = "https://direct.danbulant.cloud";
icon = "si:nextcloud";
}
{
title = "Grafana";
url = "http://grafana.eisen.danbulant.cloud";
icon = "si:grafana";
}
{
title = "Karakeep";
url = "http://keep.eisen.danbulant.cloud";
icon = "si:karakeep";
}
];
}
# {
# type = "docker-containers";
# }
];
}
{
size = "small";
widgets = [
{
type = "weather";
location = "Aarhus, Denmark";
units = "metric";
"hour-format" = "24h";
}
{
type = "releases";
cache = "1d";
repositories = [
"glanceapp/glance"
"go-gitea/gitea"
"immich-app/immich"
"syncthing/syncthing"
"9001/copyparty"
"caddyserver/caddy"
];
}
{
type = "custom-api";
title = "Steam specials";
cache = "12h";
url = "https://store.steampowered.com/api/featuredcategories?cc=us";
template = ''
{{ range .JSON.Array "specials.items" }}
-
{{ .String "name" }}
- {{ div (.Int "final_price" | toFloat) 100 | printf "$%.2f" }}
{{ $discount := .Int "discount_percent" }}
- {{ $discount }}% off
{{ end }}
'';
}
];
}
];
}
]