This is the most convenient way I’ve found to generate an HTML output of your current directory. I took the HTML file and used it as my HTTP server’s index.html.

It’s simple and elegant enough.

tree -H YOURDIR -L 2OR3ORANY -C > file.html

Video link

Don’t forget to add the RSS