Simple share folder via http with upload
Multiple files upload to current showed folder
In extended mode you can delete group of files
App will change main list view to table.
Below you see display width more than 992 pix (1), less than (2) and mobile window (3):
npx http-up .
or
npx http-up --port 3999 /path/to/fold
Important
It is recommend for work on public network interfaces
every time when you start, you get a list of random accounts
npx http-up --basic .
or only one basic auth specific user
npx http-up --user login1 --password EAJteG5 .
Caution
Be careful, if you start this App on public network interface, anybody can work with it
Caution
Always run this app only under unprivileged common user
- 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
- For start HTTPS server you need
easyrsa
linux package - When you start server with
--tls
option, all keys generate automatically
npx http-up . --tls
- Server use self signed certs, generated at first time. Thus you need approve this connection on your clients.
If you put inside folder index.html, it will be return as context
- - add table of files with extended information and sort instead simple list?
- - need some aside panel with folders tree?
- - save whitespaces for filenames?
- - add arg --tee and --log to file
- - need tests and vulnerability tests too
- - what is the lib can resize images enough fast
- - and how store thumbs (home dot cache folder?)
- - check file index.html inside folder and show it
- - success publish with right /view folder path
- - core: rewrite for template express-handlebars (big rewrite)
- - remove unused assets
- - change http_path_clear util function
- - change out and path.join everywhere
- - set sendfile
twin brother rewrite to v1.2.0
- - add --extend-mode (table view, thumbnails and delete)
- - decomposition of code
- - add folder tree
- - add two experimental view modes
- - show upload progress as simple as possible
- - decomposition
- - change default content type
- - set utf charset for js files
- - cors for api
- - cmd args configure
- - add folder with tests
- - 401 error page show
- - new util.http_path_clear function
- - show basic login in log
- - basic auth with --basic make list of credentials
- - add tls
- - security fix - double slashes
- - filename and foldername letters extended
- - security fix - double dot
- - catch read errors and new error page
- - grouping folders on top of list
- - change stdout log info
- - --upload-disable and --folder-make-disable keys
- - set right mime type
- - change stdout log info
- - change file listing view to full row
- - move uploader and folder create interfaces up
- - arg --log to file
- - show files_count_max warning
- - add basic auth
- - remove H1
- - autoclean temp folder
- - change breadcrumbs font
- - change list font
- - change temp folder to /tmp/httpup
- - change copy function to rename
- - fix multiple upload
- - add config file
- - make folder by enter
- - swap bg color between folder and file
- - decomposition for lib/http-up.js
- - make new folder via web interface
- - refresh npm modules with clear recreate lock file
- - refresh bootstrap
- - file size warning show
- - add prettier for code
- - refresh npm modules with clear recreate lock file
- - public folder automake (if not exist)
- - file size show in page
clone repo:
https://github.com/western/http-up
download necessary packs:
npm i
run instance:
npm run start
or ./bin/http-up