GithubHelp home page GithubHelp logo

mithatercan / directory-serve Goto Github PK

View Code? Open in Web Editor NEW

This project forked from cube-root/directory-serve

1.0 0.0 0.0 516 KB

CLI tool to send and receive file on a network to a server

License: MIT License

JavaScript 100.00%

directory-serve's Introduction

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

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 (>=14.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

Screenshot

CLI

screenshot

Client

screenshot

Client Auth

screenshot

directory-serve's People

Contributors

abhisawesome avatar hasimpk avatar

Stargazers

Roman avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.