JSPM

  • Created
  • Published
  • Downloads 207
  • Score
    100M100P100Q77440F
  • License MIT

Simple index folder via http with upload

Package Exports

  • http-up
  • http-up/lib/http-up.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (http-up) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

http-up

Simple index folder via http with upload

Multiple files upload to current showed folder

Also you can download any files inside current folder, just click on them

npm i http-up

http-up --port 4000 . or ./node_modules/.bin/http-up .

alt text

Notes

  • If you run application under some User, this user should be have privileges to write current folder
  • App using temporary folder for upload form, usually it /tmp/httpup, do not forget to clean it

History

1.0.17 features

    • change temp folder to /tmp/httpup
    • change copy function to rename
    • fix multiple upload

1.0.16 features

    • add config file

1.0.15 features

    • make folder by enter

1.0.14 features

    • swap bg color between folder and file

1.0.13 features

    • decomposition for lib/http-up.js

1.0.12 features

    • make new folder via web interface

1.0.11 features

    • refresh npm modules with clear recreate lock file

1.0.10 features

    • refresh bootstrap
    • refresh npm modules with clear recreate lock file
    • public folder argument (if need)
    • public folder automake (if not exist)
    • file size warning show
    • file size show in page
    • add prettier for code

Join to dev

clone repo: git clone https://github.com/western/http-up

download necessary packs: npm i

run instance: npm run start or ./bin/http-up