Create an area screenshot, host it on github and copy web url to clipboard with one command

I often find myself having to create a screenshot and upload it somewhere so that I can paste it on irc/(mail without adding weight to email)/bugzilla etc.

Eventually I solved the problem by writing  a script that:

  1. Creates a screenshot of an area (gnome-screenshot)
  2. Saves it to your picture folder
  3. adds/commits/pushes to your git hub
  4. copies path to your clipboard
  5. opens chrome to verify that screenshot uploaded successfully.

….

Continue reading