I developed a gem for this purpose, you list a set of paths with any tool like ag or find and pipe it to the command dirtree and it'll generate an HTML page that visualize the directory structure as a tree
Features
- zooming
- panning
- collapse/expand a node
- it's SVG so you can search inside the browser as normal
Project on github at blazeeboy/dirtreeblazeeboy/dirtree.
 
                 
                 
                 
                 
                