Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Command line utility take & upload optimized screenshots, getting URL in clipboard
Fetching latest commit...
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.



This command line utility launches Mac OSX screen capture in interactive mode (select a region or press space to toggle window capture), captures a portion of your screen, trims and re-compresses the captured image, uploads it to imgur service and copies the full size image URL to your clipboard.

API key

You need an API key from imgur to use the imgur API.

Registration is quick and easy : you will get an API key that allows you to upload up to 100 images per hour.

Config file

The script will use command line attribute first and fallback to the config file otherwise. You can store your key in a config file named ~/.imgur with a pretty simple syntax : just paste your API key and you are done !

Example :


OSX Integration

You can use this script via a keyboard shortcut in many ways :

  • Create a system-wide service with Automator, that launches screencapload
  • Create a keyboard shortcut in Alfred App that triggers an Alfred Action that launches screencapload
Something went wrong with that request. Please try again.