Project

public

0.0
No commit activity in last 3 years
No release in over 3 years
Dropbox public files made easy
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.3
>= 0

Runtime

 Project Readme

Public

Public is a Ruby command-line tool for quickly copying files to your public Dropbox folder.

Installation

Add this line to your application's Gemfile:

gem 'public'

And then execute:

$ bundle

Or install it yourself as:

$ gem install public

Usage

Run the command by itself to generate a configuration file:

> public

This will create ~/.public_gem, where you can set your Dropbox ID:

dropbox_user_id: CHANGE_ME

Your Dropbox ID can be found in a URL from your public folder:

https://dl.dropboxusercontent.com/u/YOUR_ID/foobar

Once you change this, you can then run public with a file (or files) as the argument to copy them to your Public folder and your clipboard.

> public foobar.txt
> public barbaz.txt foobaz.txt

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request