CLI Client

August 20th, 2009

You are using Linux or OS X? You like the CLI? If so, our CLI client is for you!

It's a small Ruby tool to upload files directly from the CLI.

Usage is as simple as:
hoodow@abaddon ~ % pickhost pics/desktop_kde4.4_4.png
This returns the URL and copies it to your clipboard (requires xclip on Linux).

To install it just run
sudo gem install Hoodow-pickhost-cli --source http://gems.github.com

For authenticated uploads just create a ~/.pickhost-cli.yml file with the following content:
user: <your username>
token: <your token>

Your API token can be found in your account settings.

The client uses our simple Upload-API which is currently limited to 50 uploads per hour. We will post more about the API when it's complete.

If you are interested in the code, it's hosted at GitHub.

Leave a Reply