CH

chrisryugj/hermes-dashboard

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

44 stars 7 forks 质量 82 趋势 5MIT

Hermes 代理网关的 Web dashboard — 完整配置、MCP、cron、模型管理,无需 CLI

概览

基于网页的Hermes代理网关管理仪表盘。完全配置和控制,无需CLI。 - 线性启发的暗色主题(#08090a canvas、Inter font、cv01 + ss03 OpenType 功能)——所有对话均为暗色主题的自定义模态(无原生提示()/确认))——单一 HTML 文件,无构建步骤,无依赖关系 - 对所有文件操作实施路径遍历预防 - 原子文件写入(临时文件 + os.replace) - XSS 保护(HTML 实体 + 单引号转义) - 秘密自动掩蔽(TOKEN/KEY/SECRET/PASSWORD 模式)- 对所有端点进行输入验证(基于正则表达式)- 引用策略(无引用)以防止 API 密钥泄露 - (承载令牌,常时比较)。没有密钥设置,它们返回 503 且不提供任何服务。 这些路由可以写入.env、重启网关、创建cron作业并读取会话内容。未经设置,不要通过隧道或反向代理暴露网关端口,API_SERVER_KEY先设置。 安装程序:1. 将仪表盘文件复制到 ~/.hermes/dashboard/ 2.

概述(AI 翻译)

基于网页的Hermes代理网关管理仪表盘。完全配置和控制,无需CLI。

特色

类别 能力
概述 网关状态、型号信息、平台连接、MCP服务器、cron摘要、认证状态、磁盘使用情况
模型 一键切换LLM模型+提供者(自动重启)
MCP 添加/编辑/删除MCP服务器。粘贴配置:直接导入Claude桌面/光标/VS Code MCP JSON
Cron 创建/编辑/删除/暂停/继续/立即运行cron作业。交付目标管理
技能 按类别浏览95+技能。搜索。查看 SKILL.md 详情
配置 使用完整JSON编辑器编辑config.yaml
Env 编辑 .env 变量。秘密自动屏蔽。添加新变量
灵魂 编辑 SOUL.md 人格
日志 实时查看网关日志。清除日志
会话 浏览和删除会话
系统 带健康轮询的网关重启。配置更改上的重启-需要横幅

设计

  • 线性启发的暗色主题([#08090a 画布,Inter字体,cv01 + ss03 OpenType 功能)

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

Hermes Dashboard

Web-based admin dashboard for Hermes Agent gateway. Full configuration and control without CLI.

Features

Category Capabilities
Overview Gateway status, model info, platform connections, MCP servers, cron summary, auth status, disk usage
Model Switch LLM model + provider with one click (auto-restart)
MCP Add / edit / delete MCP servers. Paste Config: import Claude Desktop / Cursor / VS Code MCP JSON directly
Cron Create / edit / delete / pause / resume / run-now cron jobs. Delivery target management
Skills Browse 95+ skills by category. Search. View SKILL.md detail
Config Edit config.yaml with full JSON editor
Env Edit .env variables. Secrets auto-masked. Add new variables
Soul Edit SOUL.md persona
Logs View gateway logs in real-time. Clear logs
Sessions Browse and delete sessions
System Gateway restart with health polling. Restart-needed banner on config changes

Design

  • Linear-inspired dark theme (#08090a canvas, Inter font, cv01 + ss03 OpenType features)
  • All dialogs are dark-themed custom modals (no native prompt()/confirm())
  • Single HTML file, no build step, no dependencies

Security

  • Path traversal prevention on all file operations
  • Atomic file writes (temp file + os.replace)
  • XSS protection (HTML entity + single-quote escaping)
  • Secret auto-masking (TOKEN/KEY/SECRET/PASSWORD patterns)
  • Input validation on all endpoints (regex-based)
  • Referrer policy (no-referrer) to prevent API key leakage
  • All /api/dashboard/* routes require API_SERVER_KEY (Bearer token, constant-time compare). Without the key set, they return 503 and serve nothing.

These routes can write .env, restart the gateway, create cron jobs, and read session contents. Do not expose the gateway port through a tunnel or reverse proxy without setting API_SERVER_KEY first.

Installation

Quick Install

git clone https://github.com/chrisryugj/hermes-dashboard.git
cd hermes-dashboard
./install.sh

The installer:

  1. Copies dashboard files to ~/.hermes/dashboard/
  2. Patches api_server.py to register dashboard routes
  3. Enables API server in .env

Then restart your gateway:

# launchd
launchctl kickstart -k gui/$(id -u)/ai.hermes.gateway

# or manual
hermes gateway restart

Access: http://localhost:8642/dashboard

Manual Install

  1. Copy files:
mkdir -p ~/.hermes/dashboard
cp hermes_dashboard/api.py ~/.hermes/dashboard/
cp hermes_dashboard/index.html ~/.hermes/dashboard/
  1. Add to ~/.hermes/.env:
API_SERVER_ENABLED=true
API_SERVER_PORT=8642
在 GitHub 查看完整 README

安装

This server does not publish a one-line install command.

Open the repository installation guide 新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "my-server": { "command": "node", "args": ["/path/to/server/index.js"], "env": { "API_KEY": "xxx" } } } }