首頁
概念地圖
學習路線
安裝指南
文件教學
程式碼對照
實作案例
關於
文件教學
把官方文件翻成中英對照的解說——策展式教學,不逐檔鏡像
語料來源:README.md(869 行)· 官方 docs(site/src/content/docs/,18 頁)· CLAUDE.md
⚙️
運作原理
How It Works
抽取 → 儲存 → 解析 → 自動同步四階段;Rust kernel 與 SQLite 的分工。
🏗️
架構總覽
Architecture
src/ 各模組職責表:db / extraction / resolution / graph / context / mcp / installer。
🔌
MCP 工具
MCP Tools
codegraph_explore 單一強工具 + 7 個預設隱藏工具 + CODEGRAPH_MCP_TOOLS 開關。
⌨️
CLI Reference
CLI 指令參考
init / index / sync / status / query / explore / node / callers / impact / affected…
👁️
自動同步
Auto-Sync
watcher + debounce、staleness banner、連線時 catch-up——三層保持圖譜新鮮。
🧭
Framework Routes
框架感知路由
17 框架:Django、Flask、FastAPI、Express、NestJS、Spring…URL ↔ handler 連結。
🌉
iOS / RN Bridging
跨語言橋接
Swift↔ObjC、RN bridge、TurboModules、Expo——呼叫路徑跨語言邊界。
📊
Benchmarks
效能基準
7 repo WITH/WITHOUT 對照(88% 少呼叫、62% 少 token)與殘留上下文的誠實取捨。
⚙️
Configuration
設定
codegraph.json:exclude / include / extensions 自訂對映;零設定是預設。
🧰
Library Usage
Library 用法
在你的程式裡嵌入 CodeGraph class:init / indexAll / searchNodes / buildContext。
🌐
Languages
語言支援
30+ 語言全支援:TypeScript、Python、Go、Rust、Java、Swift、COBOL、Terraform…
🛡️
Privacy & Security
隱私與安全
100% 本機、telemetry 可關、verified releases、疑難排解。
🎮
Worked Examples
實作案例
graphify 互動圖 + codegraph 自跑 dogfooding——真實工具產出的示範。