codegraph 繁體中文教學站

把整個 repo(程式碼 · 文件 · MCP 工具 · 測試 · 案例)做成中英對照的解說
CodeGraph 是一個用 Rust kernel 解析、100% 本機運作的 semantic code intelligence 工具:把整個專案用 tree-sitter 建構成 SQLite 知識圖譜(符號、呼叫邊、檔案),透過 MCP 提供 codegraph_explore——agent 一次呼叫就拿到「相關原始碼 + 呼叫路徑 + 影響範圍」, 取代一檔一檔的 grep/Read 探索。官方 7 個 repo 實測平均省 88% 工具呼叫、 62% token、44% 成本,檔案讀取歸零。
對齊上游 main @ c6aaa20 · 發行版 v1.5.0 · MIT 授權 · 30+ 語言 · 9 agent 平台 · 100% 本機
88%
更少的工具呼叫
官方 7 repo 實測(VS Code 2 vs 28)
53%
更快的回答
Excalidraw 45s vs 2m42s
62%
更少的 token
同問題處理量中位數
0
檔案讀取
七個 repo 全部歸零
1.7s
本站實測索引
570 檔 → 12,733 節點 / 44,903 邊
🕸️ 概念地圖 Concept Map 知識圖譜、node/edge、SQLite、codegraph_explore、影響分析、Rust kernel、自動同步——一張圖看懂所有核心概念。 🧗 學習路線 Learning Path 從安裝到讀 TypeScript/Rust 源碼的分層路線:L0 裝好、L1 跑起來、L2 讀圖、L3 讀原理、L4 讀源碼。 📦 安裝指南 Install Guide 一行指令(shell / PowerShell / npm)、9 個 agent 平台自動設定、codegraph init 建圖、upgrade 與 uninstall。 📚 文件教學 Documentation 翻譯並解說官方文件:運作原理、架構、MCP 工具、CLI、自動同步、框架路由、基準測試、設定。 🧩 Code Walkthrough 程式碼對照 TypeScript 源碼逐函數講解:CodeGraph class、SQLite、ExtractionOrchestrator、resolver、graph、MCP server、安裝器。 🎮 Worked Examples 實作案例 用 graphify 掃描 codegraph 自己做出的互動知識圖譜,加上「用 codegraph 分析 codegraph」的自跑真實輸出。

上游同步 · 版本釘選

對齊上游 colbymchenry/codegraph 分支 mainc6aaa20,發行版 v1.5.0已釘選

上游為 MIT 授權,本站內容逐月檢查並更新對齊版本。

專案資料來源:colbymchenry/codegraph(MIT)· npm:@colbymchenry/codegraph v1.5.0
CodeGraph 的定位與 graphify / codebase-memory-mcp 同屬「程式碼知識圖譜」工具,但架構截然不同:Rust 原生 kernel + SQLite(node:sqlite / WAL / FTS5)+ 單一強工具 codegraph_explore。本站用 graphify 掃描它自己、並實際安裝 codegraph 自跑它的源碼——「用知識圖譜工具分析知識圖譜工具」的 meta 示範。