homepage-dashboard parses the widget url with JS's URL() and reads .hostname/.port off the result. Without a "scheme://" prefix, "rechberg.online:25565" parses "rechberg.online" as the scheme and leaves hostname empty, which the minecraftstatuspinger lookup() rejects with "No hostname was provided!" (confirmed via journalctl -u homepage-dashboard). The scheme itself is discarded by the widget code, so any scheme works; tcp:// documents intent since this widget always does a plain TCP server-list ping. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01HCHg6BFAjZGUZer7RW5faD
72 lines
1.6 KiB
Nix
72 lines
1.6 KiB
Nix
[
|
|
# Example:
|
|
{
|
|
"Services" = [
|
|
{
|
|
"Athena Dashboard" = {
|
|
href = "http://mibook:9119";
|
|
description = "Hermes Agent messaging gateway";
|
|
icon = "mdi-robot-outline";
|
|
};
|
|
}
|
|
{
|
|
"Tesla - Dashboard" = {
|
|
href = "https://grafana.smoothcloud.de";
|
|
description = "Tesla Information";
|
|
icon = "tesla.png";
|
|
};
|
|
}
|
|
{
|
|
"Gitea" = {
|
|
href = "https://git.rechberg.online";
|
|
description = "Selfhosted Gitea";
|
|
icon = "gitea.png";
|
|
};
|
|
}
|
|
{
|
|
"Nextcloud" = {
|
|
href = "https://next.smoothcloud.de";
|
|
description = "Selfhosted Cloud Service";
|
|
icon = "nextcloud.png";
|
|
};
|
|
}
|
|
];
|
|
}
|
|
{
|
|
"Gaming" = [
|
|
{
|
|
"Talon" = {
|
|
href = "https://ethraldos.online";
|
|
description = "Kunst der Täuschung";
|
|
icon = "foundry-vtt.png";
|
|
};
|
|
}
|
|
{
|
|
"Tyranny of Dragons" = {
|
|
href = "https://hotdq.smoothcloud.de";
|
|
description = "Tyranny of Dragons (D&D)";
|
|
icon = "foundry-vtt.png";
|
|
};
|
|
}
|
|
{
|
|
"Beholder D&D" = {
|
|
href = "https://beholder.ethraldos.online";
|
|
description = "Andrey FoundryVTT Server";
|
|
icon = "foundry-vtt.png";
|
|
};
|
|
}
|
|
{
|
|
"Minecraft" = {
|
|
href = "https://rechberg.online";
|
|
description = "Java Minecraft Server";
|
|
icon = "minecraft.png";
|
|
widget = {
|
|
type = "minecraft";
|
|
url = "tcp://rechberg.online:25565";
|
|
};
|
|
};
|
|
}
|
|
];
|
|
}
|
|
]
|