The purpose of this software is to enable efficient screen capture and upload of screenshots to your own server.
It was made for use on macOS but other people may find it useful.
It assumes you have an SSH key set up for logging into your web server.
The initial version of this software was made by Josh Jordan. Then Elliot Temple improved it as you can see here, including the addition of the ruby complementary ruby script. These two guys solved the hard parts. I have made changes to get things working on my system, clean up the code some, and reorganize the program according to my own preferences.
Before you use ssup for the first time, fill in the info in ssup to configure the upload command and the URL. You want to set the correct info for the following variables:
- SSH_USER
- SERVER_IP
- SERVER_PORT_NUMBER
- URL
- FINAL_PATH
You can also change this variable if you need to:
SSH_KEY_PATH
And you can change FORMAT to your preference of image format. I've set it to jpg by default because png was buggy.
-
Take a screenshot with command+control+shift+4, so the screenshot is in the clipboard.
-
Run ssup to upload the image in the clipboard.
-
Wait for ssup to finish. (It says "image uploaded" with text-to-speech when it's done.)
-
The URL of the uploaded image is in your clipboard.
You'll need to set up a shortcut key to run this script to get the full benefit. You can try stuff like Automator, Keyboard Maestro, or the ActionShortcuts app.