Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 407669 - app-misc/imgur-2.0 - A simple Imgur Bash screenshot utility
Summary: app-misc/imgur-2.0 - A simple Imgur Bash screenshot utility
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Default Assignee for New Packages
URL: http://sirupsen.com/a-simple-imgur-ba...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-10 12:45 UTC by KinG-InFeT
Modified: 2015-07-21 10:43 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
this Bash script (imgurbash.sh,2.72 KB, text/plain)
2012-03-10 12:46 UTC, KinG-InFeT
Details

Note You need to log in before you can comment on or make changes to this bug.
Description KinG-InFeT 2012-03-10 12:45:35 UTC
# imgur script by Bart Nagel <bart@tremby.net>
# version 2
# I release this as public domain. Do with it what you will.

# Required: curl
#
# Optional: xsel or xclip for automatically putting the URL on the X selection
# for easy pasting
#
# Instructions:
# Put it somewhere in your path and maybe rename it:
# 	mv ~/Downloads/imgur.sh ~/bin/imgur
# Make it executable:
# 	chmod +x ~/bin/imgur
# Stick your API key in the top:
# 	vim ~/bin/imgur
# Upload an image:
# 	imgur images/hilarious/manfallingover.jpg
# The URL will be displayed (and the delete page's URL will be displayed on
# stderr). If you have xsel or xclip the URL will also be put on the X
# selection, which you can usually paste with a middle click.

Reproducible: Always
Comment 1 KinG-InFeT 2012-03-10 12:46:14 UTC
Created attachment 304829 [details]
this Bash script
Comment 2 Patrice Clement (RETIRED) gentoo-dev 2015-07-21 10:43:11 UTC
Interesting script (I use imgur a lot and such a script would really be helpful). Yet, I'd first like to know where this line in the script is *really* coming from:

 25 # API Key provided by Alan@imgur.com
 26 apikey="b3625162d3418ac51a9ee805b1840452"

Not sure Alan would like us to use his private API key in a script freely available on the Internet. For this reason, this cannot hit the tree I'm afraid.
Please reopen and provide us with explanations.