Like ngx-autoindex, but superb!
- Single, standalone file
- Automatic light-dark theme
- Colors by base16
- Monospaced type
- Minimal UI
- Search as you type
- Easily override colors through parameters
- Works in every modern browser and gracefully degrades in Internet Explorer and Safari
nginx with the xslt module. On Mac with Homebrew it's as easy as:
brew tap denji/nginx
brew install nginx-full --with-xslt
-
Download
superbindex.xslt
into your root directory. -
Add the following lines to your
nginx.conf
location:location / { autoindex on; autoindex_format xml; xslt_stylesheet /path/to/root/directory/superbindex.xslt; }
-
Restart nginx with
nginx -s reload
and voilà!
A different color theme may be used by adding the following parameters:
location / {
xslt_string_param color-base00 '#002635';
xslt_string_param color-base07 '#fafaf8';
xslt_string_param color-base0D '#5dd7b9';
xslt_string_param color-base0E '#9a70a4';
}
Browse other themes here: base16 scheme repositories