Author Topic: [Ruby] Imgurr : Basic Imgur Command-Line Utility in Ruby [Open Source]  (Read 987 times)

0 Members and 1 Guest are viewing this topic.

Offline Satan911

  • VIP
  • Knight
  • *
  • Posts: 289
  • Cookies: 25
  • Retired god/admin
    • View Profile

Imgurr is my first Ruby project. It's a simple command-line utility to quickly upload or delete images from Imgur or get information about an image.


Features:
* Image link copied to clipboard when upload finished.
* Save the delete hash locally so you can delete the image later if needed.
* Get information such as bandwidth and number of views quickly.
* Set the image title and description from the command line.
* Markdown syntax also available.


Install:
Code: [Select]
gem install imgurr

Usage:
Code: [Select]
    imgurr upload image.jpg
    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.
   
   
Source Code:[MIT License]
https://github.com/Chris911/imgurr


Contribute:
As I mentioned earlier this is my first Ruby gem and I'm sure I did a lot of things wrong. Check the code and make pull request if you think something should be improved. Also please report any bug on the Github page via issues.
   
Satan911
Evilzone Network Administrator