node-fancy-index

An nginx fancy index like static file server wrote in nodejs.

npm version

Usage

npm install -g node-fancy-index
# cd to the folder you want to expose
# export the configuraltion
> fancy-index --default-config > fancy-index.config.js

# edit the config file
> nano fancy-index.config.js

# run the server
> fancy-index

Theme

node-fancy-index is compatiable with the nginx fancy index themes.

The following themes demonstrate the level of customization which can be achieved using the module:

  • Theme by @TheInsomniac. Uses custom header and footer.
  • Theme by Naereen. Uses custom header and footer, the header includes search field to filter by filename using JavaScript.