Show HN: Onboard-CLI, a LLM powered and AST-based tool to visualize codebase
24 points
2 days ago
| 7 comments
| github.com
| HN
potatoBaker
1 day ago
[-]
The idea is very great to have a codebase visualizer because we can see through the architecture through the codebase
reply
yr_animesh
1 day ago
[-]
Yeah I am trying to reduce the developer effort in manually finding out the routes in backend or finding out how many files will get impacted if i ran some refactoring of code
reply
anirudhak47
2 days ago
[-]
pretty crazy stuff. i have been looking at different options to include. does it work on C++ codebases? also do you provide support or plan to maintain it long term? so far i'm looking at some graph based solutions. btw if you want to see if it can integrate with this architecture https://github.com/ByteAsk/byteask-extensions
reply
yr_animesh
1 day ago
[-]
Currently I'm working on to implement for C++ codebase and yes I'm going to maintain it for a long term I have also made it open sourced if you want some improvements I can create an issue and then you can contribute to it.

I looked to your product we can work together to integrate both the products!!!

reply
mthoms
2 days ago
[-]
I watched the 1:30 video and didn't see a single code visualization. Not one.

The closest was a "visualization" of a single, unconnected node that can be moved around — all by its lonesome self — on a canvas. For some reason.

reply
yr_animesh
2 days ago
[-]
You can check out the (onboard map --target ) command which will build a local react app to visualize the codebase
reply
ImPostingOnHN
2 days ago
[-]
Is there a way to visualize the code paths on a more meaningful level than line references?

I would think an LLM would be useful for explaining behavior, whereas visualizing code references can be done with no AI at all.

reply
yr_animesh
2 days ago
[-]
I think i can create a issue and you can contribute this specific feature
reply
moezd
2 days ago
[-]
I couldn't find architecture.yaml in the repo.
reply
yr_animesh
2 days ago
[-]
The architecture.yaml file is created in the root directory if you are not able to make that use this command

onboard init --template clean-architecture

reply
joe-esquibel
2 days ago
[-]
Does this tool work with non compiling code?
reply
yr_animesh
2 days ago
[-]
Nice question you are free to check it!!! If there are any issues in it you can contribute to it
reply
XUEYANZ
2 days ago
[-]
recently i read many posts on building a graph for codebase.

why suddenly this becomes popular?

is there a recent breakthough that leads this trend?

reply
csh0
2 days ago
[-]
Interest has risen in tandem with the popularity of LLMs. I have worked on these sorts of things as part of internal tooling.

Sometimes these strategies are used to provide LLMs with a greater understanding of your codebase to improve code generation results.

Additionally, techniques which allow humans to visualize the shape of code are being explored as engineers become less familiar with the specific implementation.

reply