Project

hoarder

0.0
No commit activity in last 3 years
No release in over 3 years
A utility to push static files to cloud storage.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

>= 0
 Project Readme

Hoarder

For those who can't let go...

Hoarder is a utility for pushing your files to cloud storage. Just specify the absolute path of a directory of files you want to store and Hoarder will push all of its non hidden contents to the cloud. Hoarder will outright replace any files with the same name in your cloud storage container (bucket?).

Requirements

  • Ruby 1.9.2

Installation

gem install hoarder

Usage

Create a hoarder.yml file in the directory containing the files you want to push. Hoarder uses the gem Fog to connect to cloud providers. Support is only provided for Rackspace Cloud Files (for now). The available hoarder.yml options are:

rackspace_username: # Your Rackspace user name
rackspace_api_key: # Your Rackspace api key
container: # The name of the Cloud Files container to use (does not have to exist)
public: # True or False depending on if you want the container to be CDN enabled

The rackspace_username and rackspace_api_key options come directly from Fog.

Then from your command line simply run:

hoarder "/absolute/path/to/your/files"

To Do

  • Add support for Amazon S3
  • Add option to include hidden files
  • Make uploading a little smarter
  • More specs