Skip to content

A personal utility to upload the files of my computer to my remote server

Notifications You must be signed in to change notification settings

saponciou/UploaderCLI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

UploaderCLI

UploaderCLI is a command-line tool that allows users to upload files to a server.

Prerequisites

To run UploaderCLI, you'll need:

  • Node.js (version 14 or higher)
  • npm (version 6 or higher)
  • UploaderAPI

Installation

  1. Clone the repository:
git clone https://github.com/saponciou/UploaderCLI.git
  1. Install dependencies:
cd UploaderCLI
npm install
  1. Install UploaderCLI globally:
npm install -g .
  1. Edit the endpoint url:

Go to ./bin/index.js:41 and change the url

...await uploadFile(argv.input, 'http://{ip}:{port}/upload');
  1. Use the upldr command to upload a file:
upldr -i /path/to/file

By default, the uploaded file will be saved on the server with the same name as the local file.

License

UploaderCLI is released under the MIT License. See LICENSE for details.

About

A personal utility to upload the files of my computer to my remote server

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published