Christopher Rose 8c60c7bc0d Update README
Include json changes
2019-05-24 14:46:30 +05:30
2019-05-19 12:21:28 +05:30
2019-05-24 14:41:30 +05:30
2019-05-24 08:52:42 +05:30
2019-05-24 14:41:30 +05:30
2019-05-17 20:57:11 +05:30
2019-05-24 12:04:21 +05:30
2019-05-24 12:04:21 +05:30
2019-05-24 11:25:10 +05:30
2019-05-24 14:46:30 +05:30
2019-05-24 14:46:30 +05:30
2019-05-24 11:25:10 +05:30

nodejs-fm

Build Status

A simple file manager for managing files on a remote fs using Node.

Dependencies: express body-parser @fortawesome/fontawesome-free chai mocha chai-http jquery requests sqlite3

Checklist

  • Folder Traversal
  • File Downloads
  • Upload
  • Auth

Usage

Use settings.json and point it to a valid address, and select a required port. Default 8080

For the backend, the jsons have this form

Requests:

{
    'loc': "<valid location>"
}

Responses (Only for directory traversals):

{
    'loc': "<location>",
    'back': "<location|null>",
    'contents':[
        {
            'name':"<filename>",
            'path':"<location>",
            'isDir': "<true|false>"
        },
        ...
    ]
}

Credit

  • Samuel Thornton: Material Design Box Shadows
  • Chris Pratt: File Download via Ajax
  • StackOverflow: Troubleshooting errors
  • Google: All knowing
Description
Barebones file management for file serving, supports uploads and moves.
Readme MIT 184 KiB
Languages
JavaScript 67.9%
CSS 16.7%
HTML 15.4%