Visualization of the backtrader codebase#506
Open
ivanmilevtues wants to merge 1 commit intomementum:masterfrom
Open
Visualization of the backtrader codebase#506ivanmilevtues wants to merge 1 commit intomementum:masterfrom
ivanmilevtues wants to merge 1 commit intomementum:masterfrom
Conversation
|
Very cool |
Author
|
Thanks man, appreciate it @GoldenWind8 |
Author
|
Hey dropped by to mention that we are now open-source so if you are intereted you can check the repo: https://github.com/CodeBoarding/CodeBoarding @GoldenWind8 |
Contributor
|
https://deepwiki.com/mementum/backtrader provides an interesting visualization also |
Author
|
Yes, for sure I think the goals are different. As we are trying to do a pure visualization which is solely based on the source code - that is we base our approach in Static Analysis. While as you can see the deepwiki approach references the readme quite often and their goal is more the have a nice wiki-page, and visuals are not first class citizens :D |
|
it's really awesome! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains diagrams which visualize the backtrader codebase. You can see how they render here:
https://github.com/CodeBoarding/GeneratedOnBoardings/blob/main/backtrader/on_boarding.md
The aim of these diagrams is to help people get up-to-speed with the codebase. This said we don't want to introduce something which again will require you to maintain, so that is why we generated the diagrams with the help of static analysis and LLMs.
Backtrader has over 4.4K forks, which shows there's a strong community of developers engaging with the codebase—not just as users, but as contributors as well. From what we've seen, most of them are typically interested in modifying one or two components that are relevant to their specific needs.
With that in mind, we believe having a high-level diagram makes it much easier to navigate the system and quickly understand how a specific component fits into the broader architecture. To support this, we've also recently introduced a GitHub Action that keeps the diagrams automatically up-to-date with the latest changes.
We’d love to hear your thoughts on this approach. Also, how do you currently onboard new contributors to the codebase? If there's any way we can help streamline that process, we'd be happy to collaborate.
Full disclosure: we're trying to turn this into a startup, but we're still in a very early stage and figuring out what will actually be useful for people.
I would usually start by opening a discussion, but they are not enabled for this repository so I opened a PR instead!