A source code parser using treesitter, LSP, and neo4j. Software knowledge graphs for AI agents.
Example of parsing sphinx-tribes and sphinx-tribes-frontend. Endpoints, Requests, and E2E tests are linked between the two repos.
export REPO_URL="https://github.com/stakwork/sphinx-tribes.git,https://github.com/stakwork/sphinx-tribes-frontend.git"
cargo run --bin index
- Golang
- React
- Ruby on Rails
- Typescript
- Python
- Swift
- Kotlin
- Rust
- Java
- Angular
- Svelte
- C
- C#
To verify locally that all tests pass before making a PR:
cargo test
USE_LSP=1 cargo test
You may need to install LSPs first:
This project uses the Language Server Protocol to connect nodes in the graph.
npm install -g typescript-language-server
go install golang.org/x/tools/gopls@latest
https://github.com/rust-lang/rust-analyzer/releases
pip install python-lsp-server