I never liked the default styling of localhost (directory index), so I redesign it.
- Download the repository and move the .dot files to your localhost directory โ on OS X, that will be the
Sites
folder. - Done!
To toggle visibility of .dot's files, do this on Terminal:
defaults write com.apple.finder AppleShowAllFiles -bool TRUE && killall Finder
To get back to the default behavior, just change TRUE
to FALSE
.
- Responsive
- Sort by name or modification date
- Show/hide hidden files
- Favicons
If you have any suggestions, please create an issue or fork the project and submit your pull request.
Lots of people have pointed it out alternatives for this project. There's a lot of great stuff out there, so have a look:
- Apaxy: enhance the experience of browsing web directories
- h5ai: a modern HTTP web server index
- LocalTheme: a beautiful and useful theme for localhost
- Windex: stylized directory listings
Code heavily taken from this post on CSS-Tricks. So hats off to Chris Coyier!