If you have a static site and would like to generate an index file so the files in it can be seen(and don't have htaccess to turn on indexing).

I made this for rek's website, it creates an index.html file at that location, and just puts the files as clickable links in a list: wiki.xxiivv.com/etc/dir.c.txt

cc dir.c -o dir
dir folder/