diff --git a/README.md b/README.md index 17dcebee..e432fd69 100644 --- a/README.md +++ b/README.md @@ -397,6 +397,8 @@ quick summary of more eccentric web-browsers trying to view a directory index: * cross-platform python client available in [./bin/](bin/) * [rclone](https://rclone.org/) as client can give ~5x performance, see [./docs/rclone.md](docs/rclone.md) +* sharex (screenshot utility): see [./contrib/sharex.sxcu](contrib/#sharexsxcu) + copyparty returns a truncated sha512sum of your PUT/POST as base64; you can generate the same checksum locally to verify uplaods: b512(){ printf "$((sha512sum||shasum -a512)|sed -E 's/ .*//;s/(..)/\\x\1/g')"|base64|head -c43;} diff --git a/contrib/README.md b/contrib/README.md index 0c63d862..c2e7379e 100644 --- a/contrib/README.md +++ b/contrib/README.md @@ -9,6 +9,12 @@ * assumes the webserver and copyparty is running on the same server/IP * modify `10.13.1.1` as necessary if you wish to support browsers without javascript +### [`sharex.sxcu`](sharex.sxcu) +* sharex config file to upload screenshots and grab the URL +* `RequestURL`: full URL to the target folder +* `URL`: full URL to the root folder followed by `$regex:1|1$` +* `pw`: password (or remove `Parameters` if anon-write) + ### [`explorer-nothumbs-nofoldertypes.reg`](explorer-nothumbs-nofoldertypes.reg) * disables thumbnails and folder-type detection in windows explorer * makes it way faster (especially for slow/networked locations (such as copyparty-fuse)) diff --git a/contrib/sharex.sxcu b/contrib/sharex.sxcu new file mode 100644 index 00000000..c669313f --- /dev/null +++ b/contrib/sharex.sxcu @@ -0,0 +1,19 @@ +{ + "Version": "13.5.0", + "Name": "copyparty", + "DestinationType": "ImageUploader", + "RequestMethod": "POST", + "RequestURL": "http://127.0.0.1:3923/sharex", + "Parameters": { + "pw": "wark" + }, + "Body": "MultipartFormData", + "Arguments": { + "act": "bput" + }, + "FileFormName": "f", + "RegexList": [ + "bytes //