SwitchbladeBot / invidget

SVG invite widgets that look just like the ones on the Discord client!
http://invidget.switchblade.xyz/
MIT License
116 stars 23 forks source link

Use on a static MkDocs website on GitHub pages #80

Open couleurm opened 8 months ago

couleurm commented 8 months ago

I'm thinking about linking ~40 discord invites on my website.

I'm thinking in GitHub actions to run a script before compiling which parses all the invidget URLs hosted on your official instance, and cloning your project and generating the URLs and replacing the links by these svg files

This means I'm using your instance when developping But when the website is live it's all hosted on my insurance, though it's static and won't update until next change which I'm fine with

what do you think / has this been done before?

Doges commented 8 months ago

Hi! I see no problem w/ it, in theory the cloudflare cache should handle it pretty well, lmk in our discord if invidget breaks while you're doing it