Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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

License

NotificationsYou must be signed in to change notification settings

cube-root/directory-serve

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 aNode.js module available through thenpm registry. Installation is done using thenpm 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

optionsdefaultdescriptionExample
utrueRestrict upload file optionnpx directory-serve /path-of-directory -u=false
p8989Change the portnpx directory-serve /path-of-directory -p=3000
helpHelpnpx directory-serve --help
usernameundefinedClient auth usernamenpx directory-serve /path-of-directory --username=my_username
passwordundefinedClient auth password (optional)npx directory-serve /path-of-directory --username=my_username --password=my_password
deletefalseTo delete file/foldernpx directory-serve /path-of-directory --delete=true
debugfalseDebug modenpx 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

screenshotscreenshot

Client Auth

screenshot

About

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

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Sponsor this project

    Packages

    No packages published

    Contributors5


    [8]ページ先頭

    ©2009-2025 Movatter.jp