ShareX is a program that makes it easy to upload screenshots and share them with your friends. If you follow these instructions, you will end up with fully functional screenshot automation.
ShareX is licensed under the GNU General Public License v3.0 All relevant legal information can be found here
Firstly we need to add a domain(in this case a subdomain).
[isabell@stardust ~] uberspace web domain add cdn.uberspace.de The webserver's configuration has been adpated. Now you can use the following records for your dns: A -> 22.214.171.124 AAAA -> 2a00:d0c0:200:0:b9:1a:9c:37
Now we need to create the corresponding directory for our subdomain.
[isabell@stardust ~] mkdir /var/www/virtual/$user/cdn.uberspace.de && cd "$_" [isabell@stardust cdn.uberspace.de]
Installing and configuring the Windows client¶
Go to your Windows PC and download the ShareX software from the ShareX Website.
Start the installer and follow the instructions.
Open ShareX and navigate to “Destinations settings ‣ FTP / FTPS / SFTP” Now click “Add” to create a new destination for our pictures.
Now write the following in the corresponding fields.
Name: IMG Uberspace Protocol: SFTP Host: stardust.uberspace.de Username: $ssh_user Password: $ssh_password Remote directory: /var/www/virtual/$user/cdn.uberspace.de/img/%y/%mo/%d URL path: https:// cdn.uberspace.de
The two checkboxes should be unchecked! You can now close the “Destination settings” window.
To setup your Workflow do the following:
Navigate to “Destinations ‣ Image Uploader” and check FTP.
Navigate to “After Capture tasks” and be sure to activate “Open in image editor”, “Save image to file” and finally “Upload image to host”.
Navigate to “After upload tasks” and be sure to activate “Copy URL to clipboard”.
Now it’s time to setup your Hotkeys:
Navigate to “Destinations ‣ Hotkeys” then do the following:
Remove all Hotkeys.
Select “Task: None” and navigate to: “Screen capture ‣ capture region”
Close the Task settings window and click on None and press your Hotkey (for example “PRINT SCREEN”)
Step 6 (Optional)¶
Optional you can change the filename to something fancier. To do so, navigate to “Task settings ‣ File nameing” and change the two text fields to:
Press your Hotkey.
Make a screenshot.
If needed edit your screenshot in the popup window.
Then press “enter” to upload your screenshot and copy the corresponding URL to your clipboard.
That’s it, you have successfully configured an automatically uploading screenshot tool with your own domain!Written by: Spacelord <email@example.com>