Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

file-browser-cli

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

file-browser-cli

Simple server to browse files & directories remotely

  • 1.1.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

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

Keywords

FAQs

Package last updated on 17 Jun 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc