Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

A tool & library for uploading images to PicGarage.net

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 bin
Octocat-spinner-32 lib
Octocat-spinner-32 .gitignore
Octocat-spinner-32 Gemfile
Octocat-spinner-32 MIT-LICENSE.txt
Octocat-spinner-32 README.org
Octocat-spinner-32 Rakefile
Octocat-spinner-32 picgarage.gemspec
README.org

Requirements

  • Ruby (MRI)
  • RubyGems

Install

gem install picgarage

Usage

Tool

pgupload /path/to/image.jpg

The image URL will be returned & copied to your clipboard

Library

require 'picgarage'
begin
  picgarage = PicGarage::PicGarage.new
  image_url = picgarage.upload_image('/path/to/image.jpg')
  puts image_url
rescue => error
  puts error
end

License

PicGarage is released under the MIT license.

Something went wrong with that request. Please try again.