Public analysis snapshot

hamster1963

nezha-dash

A simple dashboard for nezha.

TypeScript1,694 stars at analysis

What this project is

NezhaDash 是一个基于 Next.js 和 哪吒监控 的仪表盘 [!CAUTION] 此为 V0 兼容版本,与 V1 内置版本功能上可能有所不同 V0 V1 版本 issue 请在当前仓库发起 [!TIP] 有关 V1 版本 pr 可移步 https://github.com/hamster1963/nezha-dash-v1 部署 支持部署环境: - Vercel - Cloudflare - Docker 演示站点 说明文档 如何更新 更新教程 环境变量 环境变量介绍 Komari 面板 API 兼容 [!CAUTION] 实验性,未来可能会移除 NezhaDash 现在支持 Komari 面板数据源。要启用 Komari 模式,请设置以下环境变量: - NEXT PUBLIC Komari=true - 启用 Komari 面板兼容模式 - KomariBaseUrl=https://ss.akz.moe - Komari 面板的基础 URL 当启用 Komari 模式时,系统将从以下 API 端点获取数据: - KomariBaseUrl/api/nodes - 获取服务器列表信息 - KomariBaseUrl/api/recent/{uuid} - 获取每个服务器的实时监控数据 [!NOTE] 在 Komari 模式下,系统会并发获取所有服务器的实时数据,提供准确的当前状态监控。如果某个服务器的实时数据获取失败,系统会降级到基础信息显示。 MyNodeQuery 面板兼容 NezhaDash 同样支持 MyNodeQuery 数据源。要启用 MyNodeQuery 模式,请设置以下环境变量: - NEXT PUBLIC MyNodeQuery=true - 启用 MyNodeQuery 兼容模式 - MyNodeQueryBaseUrl=https://status.idcoffer.com - MyNodeQuery 面板的基础 URL 启用后系统会调用官方面板提供的 POST 接口: - MyNodeQueryBaseUrl/Dashboard/GetNodes - 获取服务器列表 - MyNodeQueryBaseUrl/Detail/GetDetail - 获取指定服务器的详细信息(请求体: {"UniqueID":" "} ) [!NOTE] MyNodeQuery 模式下仪表盘的网络图表会自动隐藏。

Project types

  • Library

Detected features

  • GitHub integration

Security surfaces

Automatically detected capabilities in public files. These are not confirmed vulnerabilities.

  • Environment credentials

    medium

    The project accesses environment variables and may handle API credentials. This does not imply any leak.

    • auth.ts → process.env

      process.env.AUTH_SECRET ??

    • auth.ts → process.env

      trustHost: process.env.AUTH_TRUST_HOST ? process.env.AUTH_TRUST_HOST === "true" : true,

    • next.config.mjs → process.env

      enabled: process.env.ANALYZE === "true",

  • CI/CD execution surface

    medium

    GitHub Actions workflows execute automated jobs and may use repository secrets for releases or publishing.

    • .github/workflows/Deploy.yml → Docker

      name: Build and push Docker image

    • .github/workflows/DeployTest.yml → Docker

      name: Build Docker Image Test

    • .github/workflows/auto-fix-lint-format-commit.yml → secrets.

      github-token: ${{secrets.GITHUB_TOKEN}}

    • .github/workflows/ci.yml → workflow
  • Dependency supply chain

    medium

    The project depends on third-party packages and accepts external contributions, forming a supply-chain surface.

    • package.json → dependency manifest

Security surfaces are static detections from public source files and do not represent a security audit.