/file-browser

File-browser is a nodejs utility to browse files on your file system using your browser. http://chawlasumit.wordpress.com/2014/08/04/how-to-create-a-web-based-file-browser-using-nodejs-express-and-jquery-datatables/

Primary LanguageCSS

file-browser

file-browser allows embedding of a web-enabled file browser in your node site.

Original Author Credit: Sumit Chawla

How to install

  npm install file-browser

How to Run

An exmplae server is implemented in:

  ./cli.js

You would see the message Please open the link in your browser http://:8088 in your console. Now you can point your browser to your IP. For localhost access the files over http://127.0.0.1:8088

The example cli supports following command line switches for additional functinality.

    -p, --port <port>        Port to run the file-browser. Default value is 8088
    -e, --exclude <exclude>  File extensions to exclude. To exclude multiple extension pass -e multiple times. e.g. ( -e .js -e .cs -e .swp)

ScreenShot