ShareX is a popular open-source screenshot management utility for Microsoft Windows. This tutorial will show you how to setup ShareX with Horizon and auto-upload.
ShareX is available at https://getsharex.com. Click the "Download" button to download the latest version.
Alternatively, ShareX is also available via the GitHub repository.
It is recommended to leave all settings under "Select Additional Tasks" enabled.
Once installation is complete, launch ShareX. You should be greeted with a blank page with some keyboard shortcuts.
Log into Horizon Pics. Click "Settings" on the navigation bar.
On the settings page, click "Download Configs", leave the prompt to default and click "Download".
You will download a file called "horizon.sxcu". All you should have to do is open this file and click "Yes".
In the ShareX main screen, click Destinations, and make sure all fields are set to "Custom uploader".
You're done! Simply take a screenshot or drag/drop any file into ShareX, and it will be automatically uploaded to Horizon. ShareX will place a preview in the lower right hand corner and the link will be copied to your clipboard. Clicking on that notification will open your browser to the file.
Unless you have a specific reason for manually configuring, the Easy Method is recommended.
Copy your "upload token" by hovering over the blurred text.
In ShareX, click Destinations->Custom uploader settings...
Click "New". Give it any name you like, for convenience we recommend "Horizon.Pics"
Enter the data as follows inside each column:
Destination type: Image uploader, Text uploader, File uploader
Method: POST
Request URL: https://api.has-cool.pics/upload
Body: Form data (multipart/form-data)
File form name: file
Headers:
Name: Authorization
Value: Bearer UPLOAD_TOKEN
Parse response:
URL: $json:data.fileLink$
Deletion URL: $json:data.deleteLink$
Stop! Make sure these settings are exact and accurate, otherwise your upload may fail!
It should look something like this when you're done:
Set this configuration to default for all fields. You are then free to test this by clicking "Test", and you should receive valid responses to your file URL and deletion URL.
In the ShareX main screen, click Destinations, and change Image/Text/File uploader to "Custom image/text/file uploader".
You're done! Simply take a screenshot or drag/drop any file into ShareX, and it will be automatically uploaded to Horizon. ShareX will place a preview in the lower right hand corner and the link will be copied to your clipboard. Clicking on that notification will open your browser to the file.