0.0
No commit activity in last 3 years
No release in over 3 years
A Ruby CLI client to upload files to your Dropbox and obtain URL to share them.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

 Project Readme

ochibako-share

A Ruby client software to upload files to your Dropbox and obtain URL to share them.

This program doesn't work with Dropbox API v1 being deprecated.

Installation

$ gem install ochibako_share

Authentication

Follow https://www.dropbox.com/developers/core/start/ruby to

  1. Register a new app on the App Console - Dropbox API app/Need to store Files and datastores/Only needs access to files it creates. app name may include ochibako-share
  2. Store the App key and App secret in ~/.ochibako-share-app as shown below
  3. Run ochibako-share-auth and follow the instruction to authenticate this application. This will create ~/.ochibako-share-auth

~/.ochibako-share-app:

APP_KEY = 'INSERT_APP_KEY_HERE'
APP_SECRET = 'INSERT_APP_SECRET_HERE'

Upload

$ ochibako-share <files>

This shows URL(s) to be shared.

Hacking

$ bundle install --path=vendor/bundle
$ bundle exec rake build

License

MIT