directory-serve

1.3.6 • Public • Published

Directory Serve

Directory Serve - Open source CLI to send and receive file | Product Hunt

Directory serve is a CLI library for sending and receiving a file from your android and IOS devices.

Installation

This is a Node.js module available through the npm registry. Installation is done using the npm install command:

$ npm install -g directory-serve

Help

npx directory-serve --help

Usage

After installing globally

 directory-serve /path-of-directory

or

Directly use the command

 npx directory-serve /path-of-directory

or

npx directory-serve /path-to-file

Arguments

options default description Example
u true Restrict upload file option npx directory-serve /path-of-directory -u=false
p 8989 Change the port npx directory-serve /path-of-directory -p=3000
help Help npx directory-serve --help
username undefined Client auth username npx directory-serve /path-of-directory --username=my_username
password undefined Client auth password (optional) npx directory-serve /path-of-directory --username=my_username --password=my_password
delete false To delete file/folder npx directory-serve /path-of-directory --delete=true
debug false Debug mode npx directory-serve /path-of-directory --delete=true --debug=true

Examples

npx directory-serve .
npx directory-serve ~/Desktop
npx directory-serve ~/Desktop/my_image.png
npx directory-serve ~/Desktop -p=3000 --username=test --password=password

For Developing

prerequisite

  1. Node (>=12.0)

clone the repo and follow the commands
git clone https://github.com/cube-root/directory-serve.git
npm i
npm run dev /path-of-directory

For Contributing

Contribution Guide

Screenshot

CLI

screenshot

Client

screenshot screenshot

Client Auth

screenshot

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.3.63latest

Version History

VersionDownloads (Last 7 Days)Published
1.3.63
1.3.50
1.3.40
1.3.30
1.3.20
1.3.10
1.3.00
1.2.10
1.2.00
1.1.60
1.1.50
1.1.40
1.1.30
1.1.20
1.1.10
1.1.00
1.0.90
1.0.70
1.0.60
1.0.50
1.0.40
1.0.30
1.0.20
1.0.10
1.0.00

Package Sidebar

Install

npm i directory-serve

Weekly Downloads

3

Version

1.3.6

License

ISC

Unpacked Size

769 kB

Total Files

22

Last publish

Collaborators

  • abhijith_v