No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
middlewares
views
.eslintrc.js
.gitignore
Readme.md
configs.default.js
index.js
package-lock.json
package.json

Readme.md

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.