Skip to content

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

Notifications You must be signed in to change notification settings

CubityFirst/sharex-worker-metadata

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 

Repository files navigation

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.

About

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

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published