1.1.1 • Published 11 months ago

file-browser-cli v1.1.1

Weekly downloads
-
License
MIT
Repository
github
Last release
11 months ago

file-browser-cli

npm version

Creates simple HTTP server to browse, download & upload files form your local system remotely.

Light Theme Dark Theme

The goal of this tool is to quickly create a remote server to browse and upload files. Most of the time I'll be simply using http-server to quickly create a directory browser but it doesn't really have any option to upload files or to download bulk files. So I created this simple application - a lightweight http file browser with no bloat.

This is meant to be used as a quick and simple remote file browser. THIS IS NOT DESIGNED TO BE A HIGHLY SECURE FILE SERVER. USE WITH CAUTION.

Features

  • Optional HTTP basic auth support
  • Download single files
  • Download multiple files or folders as ZIP archive
  • Upload single or multiple files
  • Delete multiple files or folders
  • Supports dark theme in modern browsers
  • Works on IE 11 (If you are still using it for some reason ¯\_(ツ)_/¯ )

How to use

  1. Install the package globally
    npm i -g file-browser-cli
  2. Run the server,
    file-browser

CLI

file-browser [options] [path]

The [path] argument is optional. If not provided the current working directory will be served by default.

OptionDescriptionDefault Value
-p, --portPort to listen on3000
--usernameUsername for HTTP basic auth. Should be used along with --password
--passwordPassword for HTTP basic auth. Should be used along with --username