Gossiphs = Gossip Graphs
A Rust library for general code file relationship analysis. Based on tree-sitter and git analysis.
Goal & Motivation
This repository is largely inspired by Github's Stack-Graphs. We attempt to make some trade-offs on the challenges currently faced by stack-graphs (https://dcreager.net/talks/stack-graphs/) to achieve our expected goals to a certain extent:
- It can be applied to most languages and repositories without additional configuration.
- The cost of writing rules for languages is not high.
- We have sacrificed a certain level of precision, but we also hope that it remains at an acceptable level.
Usage
The project is still in the experimental stage.
As a rust library
Please refer to examples for usage.
As a command line tool
You can find pre-compiled files for your platform
on Our Release Page. After extraction, you can use gossiphs --help
to find the corresponding help.