MicrocontrollersDev / Alternatives

Alternatives to famous clients, mods, and modpacks.
https://alternatives.microcontrollers.dev
Other
144 stars 56 forks source link

Discord cdn URLS #174

Open Kathund opened 3 days ago

Kathund commented 3 days ago

At some point in the past year discord changed there urls for there CDN and making it now require auth to visit/view. Going to an discord cdn link now says This content is no longer available. The only way to get that file is pasting that link into a discord channel and then clicking it.

Would there not be a better way to host these files? Test Location: docs/1.8.9/5zig.md#L51

MicrocontrollersDev commented 2 days ago

If you have a solution I'd love to hear it. I'm not sure what to do about this short of rehosting jars myself on GitHub or something (which I'd rather not do)

Tricked-dev commented 2 days ago

You can host them on Cloudflare r2 its free until you store more than 5gb requires a cc in cf tho

MicrocontrollersDev commented 2 days ago

as long as there's no chance of me getting overcharged like $3k overnight I have no problem giving my cc (that 3k comes out of genshin funds). will look into it

Tricked-dev commented 2 days ago

https://developers.cloudflare.com/r2/pricing/ Iirc b and c are for writing and listing and the rest is free so like a million people could download and you wouldn't pay a dime

Tricked-dev commented 2 days ago

I would advise you to put the r2 bucket on a subdomain and use a page rule or something to force everything from that subdomainnto be cached for 6 hours