Handy tool to share files with your friends.
With any recent web browser, you can:
- browser files, equipped with a size sorter.
- download files from or upload files to this http server.
tail -f <your.log>in your browser.
- simple responsive html form supported by
simpleresponsive.css - ajax file uploading implemented with native frontend javascript(embedded in
index.mustache)
- implemented with node.js
- native node.js to list directory and serve static file downloading
- native node.js to upgrade http connection to websocket, and construct websocket frames
- use
mustacheto render html to frontend - use
formidableto process file uploading
- clone this repo to places like
~/http-file-transfer-server, andnpm installall dependencies. cd /your/web/root/foldernode ~/http-file-transfer-server/app.js, then all download/upload will happen under/your/web/root/folder.
