Skip to content

doshareme/cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DoShare CLI

Native Command Line File Upload Utility

How to use

Download the latest binary release for your OS and arch from releases.

1.Run the file in any location

doshare <filename> **<your_doshare_instance_url>

Note: Currently Slugs are saved in result.json(we're looking to improve the experience) If instance url is not provided it will default to doshare.me's official server and provide a slug.

2.Then your file will be availble at go.doshare.me/<slug>/<filename>

From here you can simply

wget -O go.doshare.me/<slug>/<filename>

to download on another device.

Please Note: Our Hosted Server has file_size limit as 200MB, for now.

How to Build

Build using command:

g++ main.cpp -o doshare

Contribution Docs

  • Currently CLI is a wrapper on CURL. i.e It executes cURL to Upload File
  • Code needs to be properly docummented for Pull Requests
  • [ToDo][Feature] I would like it to be version compatible with all previous versions of server.
  • [ToDo][Feature] CLI will have it's own update command
  • [ToDo][Feature]