Skip to content
A tool & library for uploading images to PicGarage.net
Ruby
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
bin
lib
.gitignore
Gemfile
MIT-LICENSE.txt
README.org
Rakefile
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.