Skip to content

mmesiti/code-explorer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Code explorer

A quickly-put-together tool to do a preliminary exploration of directories full of code. Displays the code content of each directory as a tree map. Standing on the shoulders of giants like cloc, pandas and plotly's treemaps.

Dependencies

  • cloc
  • poetry to manage the python installation (pandas and plotly)

Installation

After clone

cd code-explorer
poetry install

And then

./explore-driver.sh /path/to/the/repo/to/analyse

Plotly should open a browser tab showing a treemap that you can explore. An html file ending in ...cloc.db.html should be created in the current directory.

Considerations

  • poetry might be overkill
  • it would be nice to click on a file on the treemap and open it, but alas this requires effort

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published