Skip to content

Latest commit

 

History

History
executable file
·
24 lines (19 loc) · 1.02 KB

README.md

File metadata and controls

executable file
·
24 lines (19 loc) · 1.02 KB

shotpy

A simple python script to take screenshot and upload images/screenshots to imgur for sharing.
Alt Text

Modules required:

  • Linux/BSD:
    • python >= 3.6.2
    • pyimgur
    • scrot (this is not a python module, a screenshot utility written in c.)
    • notify-send (for notifications)

      Thats all you need.

Install pyimgur by using pip or just run configure.py after cloning the repository.

How to use:

  • If you want to take a screenshot and then upload it to imgur, just run shotpy and select the amount of screen you want to capture.
  • For making shotpy wait for SEC number of seconds to capture the selected area, run shotpy -d <SEC>
  • If you want to upload an image thats already in your drive to imgur just run shotpy <path-to-image> or shotpy <path-to-image> <imgur-title-for-image>

The URL of the uploaded image will be copied to the clipboard so that you can paste it anywhere.

To Do:

  • Adding functionality for Mac.