8000 GitHub - stakwork/stakgraph: A source code parser using treesitter, LSP, and neo4j, powering software knowledge graphs for AI agents.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

A source code parser using treesitter, LSP, and neo4j, powering software knowledge graphs for AI agents.

Notifications You must be signed in to change notification settings

stakwork/stakgraph

Repository files navigation

stakgraph

A source code parser using treesitter, LSP, and neo4j. Software knowledge graphs for AI agents.

img

parse a repo

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

ingest some data

language support

  • Golang
  • React
  • Ruby on Rails
  • Typescript
  • Python
  • Swift
  • Kotlin
  • Rust
  • Java
  • Angular
  • Svelte
  • C
  • C#

contributing

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:

LSP

This project uses the Language Server Protocol to connect nodes in the graph.

typescript

npm install -g typescript-language-server

go

go install golang.org/x/tools/gopls@latest

rust

https://github.com/rust-lang/rust-analyzer/releases

python

pip install python-lsp-server

About

A source code parser using treesitter, LSP, and neo4j, powering software knowledge graphs for AI agents.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0