Skip to content

Instantly share code, notes, and snippets.

@MrCrypticxDev
Last active July 28, 2022 20:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MrCrypticxDev/e848bda6b6b82e76206bf822212e8a5a to your computer and use it in GitHub Desktop.
Save MrCrypticxDev/e848bda6b6b82e76206bf822212e8a5a to your computer and use it in GitHub Desktop.
Cloudflare workers snippet for custom image url shortners. You can use this with ShareX
{
"Version": "14.1.0",
"Name": "Cloudflare Worker",
"DestinationType": "URLShortener",
"RequestMethod": "POST",
"RequestURL": "https://YOUR_SUBDOMAIN_HERE.workers.dev/",
"Body": "JSON",
"Data": "{\n \"url\": \"{input}\"\n}",
"URL": "{response}"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment