blarApp/blarify
关于
从代码库构建图的工具
开发工具实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 0
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文This repo introduces a method to represent a local code repository as a graph structure. The objective is to allow an LLM to traverse this graph to understand the code logic and flow. Providing the LLM with the power to debug, refactor, and optimize queries.
Supported Languages
- Python
- JavaScript
- TypeScript
- Ruby
- Go
- C#
Example
This graph was generated from the code in this repository.
Quickstart
Get started with blarify by following our quickstart guide:
Dependencies
SCIP Support (Optional, for faster reference resolution)
For enhanced performance, blarify supports SCIP (Source Code Intelligence Protocol) which provides up to 330x faster reference resolution compared to LSP.
Install the SCIP Python indexer:
# Install scip-python globally via npm
npm install -g @sourcegraph/scip-python
Note: SCIP provides identical accuracy to LSP but with dramatically better performance. When available, blarify will automatically use SCIP for reference resolution.
Article
Read our article on Medium to learn more about the motivation behind this project:
➡️ How we built a tool to turn any codebase into a graph of its relationships
Future Work
- Gracefully update the graph when new files are added, deleted, or modified
- Add more language servers
- Experiment with parallelizing the language server requests
Need help?
If you need help, want to report a bug, or have a feature request, please open an issue on this repository.
You can also reach out to us at Discord
探索相关项目
加载中…