Skip to content

A CLI for uploading a file to a nextcloud instance and automatically sharing it with a link that can be copied

License

Notifications You must be signed in to change notification settings

m4r1vs/nextcloud-share-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

👾 Nextcloud Share CLI (NCLI)

A command line tool for uploading a file to a nextcloud instance and automatically sharing it with a link that can be copied

installation (Linux)

  1. Install Go if not installed already
  2. run the following commands:
git clone https://github.com/m4r1vs/nextcloud-share-cli
cd nextcloud-share-cli
make install

installation (Mac & Windows) ⚠ might not work

  1. Install Go if not installed already
  2. clone this repository
  3. run go build -o bin/ncli ncli.go in the cloned directory
  4. add the generated binary to your windows path or mac path

Usage

Run ncli to set up the config. Following commands are currently supported:

ncli --share path/to/file.jpeg
ncli --upload path/to/file.js
ncli --configure reset
ncli --configure [username, password, etc.]
ncli --help

About

A CLI for uploading a file to a nextcloud instance and automatically sharing it with a link that can be copied

Resources

License

Stars

Watchers

Forks

Packages

No packages published