I've always wanted a software that would explain everything about a repository and the code. I even considered building one, when I came across explanations that even SourceTrail was unsuccessful since people were unwilling to purchase it at scale. Even employers didn't see the value in buying one. Did you know that Grappl shows code like buildings? There are a bunch of other tools like Sourcery and SourceGraph, but today I came across a clever website named DeepWiki, created by Cognition.ai (the creators of Devin).
If you have a public GitHub repository, you can simply replace the "github.com" with "deepwiki.com", and it'll offer you a full repository analysis and description in a few minutes. They'll email you to notify.
https://github.com/nav9/splitVideoQualityViewer
https://deepwiki.com/nav9/splitVideoQualityViewer
I tried it, and was quite impressed at the flowcharts it created. The visualizations even showed me flows that I didn't remember existed. It also shows and explains the code structure and every class. At the bottom of the screen it provides a textfield using which you can ask it questions about the codebase.
To test it out initially, I tried asking it about "who first discovered India", to see if it'd respond without thinking, similar to how many GPT's do. It however responded well by saying that "I notice that your query "who first discovered India" doesn't appear to be related to the Split Video Quality Viewer codebase that I'm currently analyzing. The codebase you're viewing is a tool for comparing multiple videos side-by-side in a split-screen layout, not a historical database or information system about the discovery of India...". I was impressed again. It actually scans the code to generate a response.
I tried submitting simple programs too, created in GW-BASIC:
- Jump-up: The first game I created. DeepWiki created an impressive analysis and visualization of the game character and flow of the game. Didn't expect it to be this good.
- Digger: It actually analyzed and visualized how my Digger games improved over time and created nice flowcharts of the monster's AI thinking.
I even submitted iRest, and again, it created a useful visualization.
Since the website is named DeepWiki, I don't think they would be using it only for code. It seems general purpose enough to be used as a deep search for any website. Perhaps even the entire Internet.
I highly recommend DeepWiki.
No comments:
Post a Comment