登录 注册
开发者工具
48,479
Stars
—
Forks
0
Watchers
—
Open Issues
待补全
许可证
TypeScript
语言
—
创建时间
最近更新

项目能做什么

GitNexus 是一个无服务器的代码智能引擎。它将代码库索引为包含符号、调用关系和执行流的知识图谱,解决了理解复杂代码调用与改动影响的难题。核心功能包括:通过 CLI、Web 图谱或编辑器 MCP 工具检索代码、追踪符号依赖与路径、评估代码变更影响及语义重命名。
来源:AI 基于仓库事实生成 · 内容以仓库实际 README 为准

使用说明 查看原始 README 原仓库文档

中文使用说明暂未生成。下面保留原仓库 README 摘录,命令与配置均以原文为准。
原始 README 摘录(英文原文,节选前 3000 字符)
# GitNexus

<div align="center">

  <a href="https://trendshift.io/repositories/19809" target="_blank">
    <img src="https://trendshift.io/api/badge/repositories/19809" alt="abhigyanpatwari%2FGitNexus | Trendshift" style="width: 250px; height: 55px;" width="250" height="55"/>
  </a>

  <p>
    <a href="https://discord.gg/MgJrmsqr62">
      <img src="https://img.shields.io/discord/1477255801545429032?color=5865F2&logo=discord&logoColor=white" alt="Discord"/>
    </a>
    <a href="https://www.npmjs.com/package/gitnexus">
      <img src="https://img.shields.io/npm/v/gitnexus.svg" alt="npm version"/>
    </a>
    <a href="https://polyformproject.org/licenses/noncommercial/1.0.0/">
      <img src="https://img.shields.io/badge/License-PolyForm%20Noncommercial-blue.svg" alt="License: PolyForm Noncommercial"/>
    </a>
    <a href="https://securityscorecards.dev/viewer/?uri=github.com/abhigyanpatwari/GitNexus">
      <img src="https://api.securityscorecards.dev/projects/github.com/abhigyanpatwari/GitNexus/badge" alt="OpenSSF Scorecard"/>
    </a>
    <a href="https://github.com/abhigyanpatwari/GitNexus/actions/workflows/ci.yml">
      <img src="https://github.com/abhigyanpatwari/GitNexus/actions/workflows/ci.yml/badge.svg" alt="CI Workflows"/>
    </a>
  </p>
</div>

GitNexus indexes a codebase into a knowledge graph of symbols, calls, dependencies
and execution flows. Use it through your coding agent's MCP tools, the CLI, or a
web graph explorer.

[Quick start](#quick-start) · [Documentation](#documentation) ·
[Web UI](https://gitnexus.vercel.app) · [Discord](https://discord.gg/MgJrmsqr62)

https://github.com/user-attachments/assets/172685ba-8e54-4ea7-9ad1-e31a3398da72

## Quick start

Requires **Node.js 22.18+ on 22.x, or 24.11+**. See [platform requirements](gitnexus/README.md#requirements)
for Linux and Windows native dependencies.

```bash
# Run from your repository root
npx gitnexus analyze

# Connect your editors once
npx gitnexus setup
```

`analyze` builds the index, installs agent skills, registers Claude Code hooks,
and writes `AGENTS.md` / `CLAUDE.md` context files. `setup` configures MCP for your
editors. Use `gitnexus analyze --index-only` to index without those repository
integration files.

For repeated use, install globally with `npm install -g gitnexus`.
If installation fails, see [troubleshooting](gitnexus/README.md#troubleshooting).

## What you can do

| Task                                        | Tool             |
| ------------------------------------------- | ---------------- |
| Find code and related execution flows       | `query`          |
| Inspect a symbol's callers and dependencies | `context`        |
| Check what a change could affect            | `impact`         |
| Trace a path between two symbols            | `trace`          |
| Review the impact of a Git diff             | `detect_changes` |
| Preview and apply a semantic rename         | `rename`         |

Ask your agent questions such as “What calls this func
阅读完整原文

项目深度分析 AI 生成

商业化双重许可与企业私有化支持(Dual Licensing)

产品构想利用当前非商业许可(PolyForm Noncommercial 1.0.0 徽章提示)向企业级客户销售商业使用许可,并提供私有化部署技术支持与 SLA 保障。
核心功能商业免责授权、专属技术支持通道、特定私有包管理器适配、跨团队部署配置指南。
目标用户中大型企业研发团队、对合规要求严格的跨国技术组织。
难度/周期低 · 1-2周 · 成本:极低(主要是法务与商业授权条款拟定)
收费模式按企业席位或团队规模收取商业 License 年费(如 $299 - $1,999/年)。
竞争风险仓库当前标注 LICENSE 为 NOASSERTION,需先梳理清理清晰的商业协议避免版权争议。
依据 已验证事实

CI/CD 自动化影响面分析与 PR 风险评估 GitHub App

产品构想将 GitNexus 的 `impact` 和 `detect_changes` 能力封装为 GitHub Action / GitHub App,在每次 Pull Request 时自动生成调用链影响分析与潜在架构破坏预警报告。
核心功能PR 自动分析评论、高危变更路径标记、架构分层违规拦截、破坏性重命名提醒。
目标用户敏捷研发团队负责人、代码审查者(Reviewer)、QA 工程师。
难度/周期中等 · 1-2个月 · 成本:轻量云服务器运行 Runner/Webhook,每月 $20 - $50。
收费模式免费额度(每月少量分析)+ SaaS 订阅(每代码仓库 $19 - $99/月)。
竞争风险对于超大 Monorepo 在 CI 运行可能耗时过长导致体验下降,需优化缓存机制。
依据 数据支持的判断

团队级代码知识库与架构资产管理平台(Team Hub)

产品构想基于零服务模式拓展出中心化服务,自动拉取团队所有仓库并统一生成多微服务间全景依赖图,提供给 IDE 插件和 Web 端统一检索与入职导引。
核心功能多仓库微服务图谱串联、架构演进轨迹回溯、新员工交互式 Onboarding 导引、敏感代码完全私有存储。
目标用户软件架构师、新入职员工(Onboarding)、中台团队。
难度/周期高 · 2-3个月 · 成本:存储服务器与图数据库托管(推测),每月 $100 - $300。
收费模式B2B SaaS 订阅模式,按活跃开发者席位收取 $10 - $25/人/月。
竞争风险中心化部署与原本宣称的 'Zero-Server' 存在定位冲突,需要权衡用户对于代码隐私的敏感度。
依据 AI推测
AI 基于仓库公开数据分析生成,含推测成分,不构成收益承诺。
报告会保存到 个人中心

竞品与相似项目 GitHub Search 真实检索

相似项目数据正在完善中,暂不展示(避免误导)

项目优势与风险

技术成熟度创建时间待补全,最近推送 ,发布过 100 个 Release
社区活跃Star 48,479 / Fork 0 / Issue 0(数据支持,可自行核实)
许可证未检测到(需人工确认)
主要风险上游项目方向可能变化;同赛道竞争者较多(见竞品表);热度与需求不完全等价

安装与使用

此项目未提供 Docker 镜像,安装步骤以原仓库 README 为准(涉及依赖安装与环境配置,对新手门槛较高)。