title: How to Enable Directory Indexing on GitHub Pages
body: <p>I need to display directory contents on GH Pages. </p>
  
  <p>Would prefer</p>
  
  <ol>
  <li>Automatically, without index.html</li>
  <li>A tool or library for automatically generating the index.html</li>
  <li>Any other method</li>
  </ol>
  
  <p>So, if I have a FS in my GH Pages repository:</p>
  
  <p><code>http://github.com/[username]/[username].github.io/</code> :</p>
  
  <pre><code>script/
  - app/
    - core/
      - init.js
  - lib/
    - Element.animate.js
    - Object.overlay.js
  - mod/
    - anim/
      - global/
        - carousel/
          - carousel.js
        - global.js
  - ext/
    - cfgs.js
  index.html
  </code></pre>
  
  <p>I would want each directory URL to index as usual, like so.</p>
  
  <p><code>http://[username].github.io/script/</code> :</p>
  
  <pre><code>- app/
  - lib/
  - mod/
  - ext/
  </code></pre>
  
  <p><code>http://[username].github.io/script/mod/anim/global/</code> :</p>
  
  <pre><code>- carousel/
  - global.js
  </code></pre>
  
  <p>The only thing I can think of is preference #2, write or find a script to automatically generate the index.html from the GitHub Repo page or the local Repo on my FS. </p>