In topic: "image embedding heads up"

Sunday, August 3rd, 2025, 2:01 PMabout 20 hours ago

Nice thread to stumble across while setting up my media server. If it's working, this image should show up:

// actually implementing file uploads would be a pain

It's not as daunting as it may seem, it's just a bit... exotic. Getting media storage and a CDN is piss easy nowadays (just don't get ripped off), the real challenge is doing the backend code for it.

This is roughly the journey a file takes thru a backend: user sends POST w/ file -> basic validation e.g. filesize -> convert uploads into temp files -> validate the mime type, generate hashes maybe -> send them to the media server (yolo) -> delete the temp file -> save the URL it's sent to

About 50% of that can be handled thru extensions, depending on your stack. At my pace this takes about a week and a half to get working, minus tests.


Btw, is gyazo still usable as an image hoster? Last time I checked it should be, though I remember it being a bit coy about linking to the raw image file

HE IS

ABSOLUTELY

KILLED!!!!