Code Monkey home page Code Monkey logo

sharecmd's Introduction

Go Report Card GoDoc

gopher

Go Share files!

Share your files with your friends using Cloudproviders with just one command.

Supported Cloud Providers:

  • Dropbox
  • Google Drive (currently not working)
  • OpenDrive
  • Seafile (also private hosted)
  • Nextcloud / Owncloud
  • Any missing? Create an Issue or PR!

Optional Support for URL Shortener:

  • Biturl.top
  • ...

Howto share?

user@srv# share somedocument.pdf
Uploading 361 B/361 B
URL: https://drive.google.com/open?id=1C77TZBMT0PESUvsIPetGzrK36LqGFqza
Short URL: https://biturl.top/67vE32
URL copied to clipboard!

Howto setup?

user@srv# share --setup

Select a provider and connect the app to your account. The token will be saved to your disk.

Howto install?

Download precompiled binarys for your OS or compile it from source.

On Linux/Mac/Windows you can use this curl command to always get the latest version:

curl -sfL https://install.goreleaser.com/github.com/mschneider82/sharecmd.sh | sh

Or if you use MacOSX you can also use brew:

brew install https://github.com/mschneider82/sharecmd/raw/master/Formula/sharecmd.rb

Notes:

Sharecmd uploads the file to the configured cloud provider and does a public share of the file for anyone who has the link. The link will be copyed to system clipboard (windows/linux/macos)

Provider Notes:

Dropbox:

It uploads all files to /Apps/sharecmd (folder auto generated)

Googledrive:

It uploads all files to /sharecmd (folder auto generated)

Opendrive

It uploads all files to /sharecmd (folder auto generated)

Seafile:

It creates a new Library called sharecmd on setup

Own/Nextcloud:

The folder /sharecmd will be auto generated.

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.