mirror of
https://github.com/MacRimi/ProxMenux.git
synced 2026-11-05 20:32:15 +00:00
fix(monitor): show a light Hermes logo in the dark theme
This commit is contained in:
@@ -397,6 +397,10 @@ const SELFHST_THEME_LOGOS: Record<string, { lightTheme: string; darkTheme: strin
|
|||||||
lightTheme: `${SELFHST_WEBP_BASE}/frigate-dark.webp`,
|
lightTheme: `${SELFHST_WEBP_BASE}/frigate-dark.webp`,
|
||||||
darkTheme: `${SELFHST_WEBP_BASE}/frigate-light.webp`,
|
darkTheme: `${SELFHST_WEBP_BASE}/frigate-light.webp`,
|
||||||
},
|
},
|
||||||
|
"hermes-agent": {
|
||||||
|
lightTheme: `${SELFHST_WEBP_BASE}/hermes-agent.webp`,
|
||||||
|
darkTheme: `${SELFHST_WEBP_BASE}/hermes-agent-light.webp`,
|
||||||
|
},
|
||||||
"llama-cpp": {
|
"llama-cpp": {
|
||||||
lightTheme: `${SELFHST_WEBP_BASE}/llama-cpp.webp`,
|
lightTheme: `${SELFHST_WEBP_BASE}/llama-cpp.webp`,
|
||||||
darkTheme: `${SELFHST_WEBP_BASE}/llama-cpp-light.webp`,
|
darkTheme: `${SELFHST_WEBP_BASE}/llama-cpp-light.webp`,
|
||||||
@@ -415,9 +419,16 @@ const SELFHST_THEME_LOGOS: Record<string, { lightTheme: string; darkTheme: strin
|
|||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Earlier catalog icons that now have a themed selfhst equivalent.
|
||||||
|
const THEMED_LOGO_ALIASES: Record<string, string> = {
|
||||||
|
"https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons@main/webp/hermes.webp": "hermes-agent",
|
||||||
|
}
|
||||||
|
|
||||||
function selfhstThemeLogos(src: string) {
|
function selfhstThemeLogos(src: string) {
|
||||||
|
const alias = THEMED_LOGO_ALIASES[src.toLowerCase()]
|
||||||
|
if (alias) return SELFHST_THEME_LOGOS[alias]
|
||||||
if (!src.toLowerCase().includes("cdn.jsdelivr.net/gh/selfhst/icons")) return null
|
if (!src.toLowerCase().includes("cdn.jsdelivr.net/gh/selfhst/icons")) return null
|
||||||
const match = src.toLowerCase().match(/\/(frigate|llama-cpp|portainer|tailscale|vaultwarden)(?:-(?:dark|light))?\.webp(?:[?#].*)?$/)
|
const match = src.toLowerCase().match(/\/(frigate|hermes-agent|llama-cpp|portainer|tailscale|vaultwarden)(?:-(?:dark|light))?\.webp(?:[?#].*)?$/)
|
||||||
return match ? SELFHST_THEME_LOGOS[match[1]] : null
|
return match ? SELFHST_THEME_LOGOS[match[1]] : null
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
"category_label": "AI / Coding & Dev-Tools",
|
"category_label": "AI / Coding & Dev-Tools",
|
||||||
"author": "Nous Research",
|
"author": "Nous Research",
|
||||||
"developer": "Nous Research",
|
"developer": "Nous Research",
|
||||||
"icon": "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons@main/webp/hermes.webp",
|
"icon": "https://cdn.jsdelivr.net/gh/selfhst/icons@main/webp/hermes-agent.webp",
|
||||||
"thumbnail": null,
|
"thumbnail": null,
|
||||||
"screenshots": [],
|
"screenshots": [],
|
||||||
"architectures": [
|
"architectures": [
|
||||||
|
|||||||
@@ -6150,7 +6150,7 @@
|
|||||||
"repository": "https://hub.docker.com/r/nousresearch/hermes-agent",
|
"repository": "https://hub.docker.com/r/nousresearch/hermes-agent",
|
||||||
"description": "Hermes Agent is a self-improving AI agent from Nous Research, designed to be a long-running collaborator rather than a one-off chatbot.\nIts built-in learning loop combines persistent memory, cross-session recall, and reusable skills so it can keep context and improve recurring workflows over time.\nWith a unified gateway, rich toolsets, and a browser-based dashboard, Hermes fits research, automation, cross-platform communication, and ongoing operational work.\n\n**Main Features:**\n- Built-in learning loop with persistent memory, session search, and reusable skills\n- One gateway for CLI, Telegram, Discord, Slack, WhatsApp, Signal, and more\n- Tool-driven workflows with terminal access, web search, browser automation, file editing, and MCP integration\n- Automation and coordination with cron jobs, subagents, the web dashboard, and an OpenAI-compatible API\n\n**Learn More:**\n- [Hermes Agent Official Website](https://hermes-agent.nousresearch.com/)\n- [Hermes Agent GitHub](https://github.com/NousResearch/hermes-agent)\n- [Hermes Agent Documentation](https://hermes-agent.nousresearch.com/docs/)\n",
|
"description": "Hermes Agent is a self-improving AI agent from Nous Research, designed to be a long-running collaborator rather than a one-off chatbot.\nIts built-in learning loop combines persistent memory, cross-session recall, and reusable skills so it can keep context and improve recurring workflows over time.\nWith a unified gateway, rich toolsets, and a browser-based dashboard, Hermes fits research, automation, cross-platform communication, and ongoing operational work.\n\n**Main Features:**\n- Built-in learning loop with persistent memory, session search, and reusable skills\n- One gateway for CLI, Telegram, Discord, Slack, WhatsApp, Signal, and more\n- Tool-driven workflows with terminal access, web search, browser automation, file editing, and MCP integration\n- Automation and coordination with cron jobs, subagents, the web dashboard, and an OpenAI-compatible API\n\n**Learn More:**\n- [Hermes Agent Official Website](https://hermes-agent.nousresearch.com/)\n- [Hermes Agent GitHub](https://github.com/NousResearch/hermes-agent)\n- [Hermes Agent Documentation](https://hermes-agent.nousresearch.com/docs/)\n",
|
||||||
"website": "https://hermes-agent.nousresearch.com/",
|
"website": "https://hermes-agent.nousresearch.com/",
|
||||||
"icon": "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons@main/webp/hermes.webp",
|
"icon": "https://cdn.jsdelivr.net/gh/selfhst/icons@main/webp/hermes-agent.webp",
|
||||||
"architectures": [
|
"architectures": [
|
||||||
"amd64",
|
"amd64",
|
||||||
"arm64"
|
"arm64"
|
||||||
|
|||||||
Reference in New Issue
Block a user