GitHunt
CU

CubityFirst/sharex-worker-metadata

Cloudflare Worker to serve metadata for ShareX images inside of Discord.

ShareX Cloudflare Worker for Embed / HTML insertion

⚠️ Main Branch Code moved to github.com/ShareX/CloudflareWorkers

tldr ;

i'll write a better one later.

This uses Cloudflare's Worker service to add on additional metadata so that Discord Embeds have the chat embed.

Requirements - Your own image host, on a domain that you control via Cloudflare.

Limitations - 100,000 requests per day (where the embed works).

  1. Make a Cloudflare worker.
  2. Copy the code in from the Repo & change the Title / Color, and Description to whatever you want. (description by default is filename).
  3. Set the route to be where your images are hosted, in my case this is i.cubityfir.st/*
  4. Make sure to click "Request limit failure mode" and change it to Fail open.

Contributors

Created July 22, 2021
Updated July 24, 2021