bill-kolokithas / imgur

Upload photos to imgur

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Collection of scripts to upload photos on imgur. All scripts use xclip to put the direct link on clipboard and libnotify to show a notification when done. Images are uploaded anonymously using v3 api. ruby-oauth supports uploading photos to a user's album. (you have to run it from terminal the first time)

C version requires curl headers, ruby needs the curl bindings provided by curb gem, perl needs the curl bindings provided by WWW::Curl CPAN module.

Usage for all scripts

./imgur_script <path/to/file.(png|jpg)>

Example invocation using scrot

scrot -e 'imgur.rb $f'

Command to compile C program

gcc -s -O2 imgur.c -o imgur -lcurl

About

Upload photos to imgur


Languages

Language:Ruby 29.3%Language:C 23.8%Language:Go 17.3%Language:Python 14.5%Language:Perl 11.5%Language:Shell 3.7%