Skip to content

AW3i/imgur

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 29.2%
  • C 23.8%
  • Go 17.3%
  • Python 14.5%
  • Perl 11.5%
  • Shell 3.7%