GithubHelp home page GithubHelp logo

imgurr's Introduction

imgurr Gem Version

Command line utility for Imgur in Ruby. Imgurr lets you quickly upload images, get info about an image and delete your own images from Imgur.

Install

gem install imgurr

Usage

Examples

$ imgurr capture
Uploading screenshot...
Copied http://i.imgur.com/rGoGCNb.png to clipboard

$ imgurr upload image.gif
Copied http://i.imgur.com/PLWGJlc.gif to clipboard

$ imgurr upload image.jpg --markdown
Copied ![Screenshot](http://i.imgur.com/PLWGJlc.gif) to clipboard

$ imgurr info 2KxrTAK
    Image ID   : 2KxrTAK
    Views      : 14717
    Bandwidth  : 2.296 GiB
    Title      : None
    Desc       : None
    Animated   : false
    Width      : 960 px
    Height     : 540 px
    Link       : http://i.imgur.com/2KxrTAK.jpg

$ imgurr delete http://i.imgur.com/2KxrTAK.jpg
Successfully deleted image from Imgur

./imgurr --help for more.

How it works

Imgurr stores the delete hash generated by Imgur locally when uploading an image using imgurr. Most of the time the delete hash gets lost if you don't have an account and you want to takedown an image you have to contact Imgur support which can take a while. With imgurr all your delete hashes are saved so you can delete your images later if needed.

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

Don't forget to add a test for any new feature.

imgurr's People

Contributors

chris911 avatar strong-code avatar towski avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.