I made a tool to visualise the file structure of git repositories: Longitude. The inspiration comes from work where I wanted to overlay team ownership across files and directories in some of the large monolithic code bases.
It’s very much an MVP and is a nights-and-weekends project. I’ve got a couple of ideas for the future:
- The option to size nodes based on lines of code in each file and directory.
- Utilise categories for file extension.
- Colour or size nodes based on LOC churn in a file.
There’s a live demo up here and you can view the source on github. Follow the README to get started.