ShareX-compatible server written in Go.
URL shortening will additionally grab a WARC of the provided URL (requires a copy of wget in the same directory or path).
Originally written while I was learning the language, for practice.
- Build the server using
go build -o goshare.- If you are on Windows and do not wish to build it, you can find a copy in releases.
- Copy
config.json.exampletoconfig.json. - Modify the parameters as required, ensuring that the directory specified in
FilePathexists. - Run
goshare.
- Modify
GoShare.sxcu, replacinglocalhost:8080with the host and port specified inconfig.json.- Additionally, modify the
Authorizationheader if required.
- Additionally, modify the
- Open ShareX.
- Click
Destinations > Custom uploader settings > Import > From file... - Select the modified
GoShare.sxcufile. - (optional) Change the default upload destination by clicking
Destinations > Image Uploader > Custom image uploader(or any other type of uploader).