Mirroring media upload #229

Open
opened 2025-02-20 10:42:13 +00:00 by freakoverse · 0 comments
Owner

Sometimes when a media is uploaded to one server, it might get removed or changed/altered, so if a user uploads an image (or multiple) it'd also be mirror to 2 other different servers that use the same tech / generates the same hash, with the hopes that if a user pulls that media from one server, it would swap the link to another if the link is broken, altered, or does a redirect. (assuming they all use the same hash for the same images).

I'm not sure if this is possible, but i know on blossom it is possible, so I'm hopping it is here as well / might be using the same tech or similar.

This issue came about because of this example (nsfw):
https://cdn.nostrcheck.me/ec028e0301abbc999dcdec5865d05eff0a74f3fde4c62127074e3d813220ab8f/16be251e847214452af2d7877ebaf1a347bb556e2c8cc05d98bcbdf5c75eb090.webp

I'm not sure if the hash was changed or not, but if it's impossible to know resulting in us not being able to autoswap the links, then perhaps we may need to look into giving the user a UI to change 'media source' on each piece of media?

Sometimes when a media is uploaded to one server, it might get removed or changed/altered, so if a user uploads an image (or multiple) it'd also be mirror to 2 other different servers that use the same tech / generates the same hash, with the hopes that if a user pulls that media from one server, it would swap the link to another if the link is broken, altered, or does a redirect. (assuming they all use the same hash for the same images). I'm not sure if this is possible, but i know on blossom it is possible, so I'm hopping it is here as well / might be using the same tech or similar. This issue came about because of this example (nsfw): https://cdn.nostrcheck.me/ec028e0301abbc999dcdec5865d05eff0a74f3fde4c62127074e3d813220ab8f/16be251e847214452af2d7877ebaf1a347bb556e2c8cc05d98bcbdf5c75eb090.webp I'm not sure if the hash was changed or not, but if it's impossible to know resulting in us not being able to autoswap the links, then perhaps we may need to look into giving the user a UI to change 'media source' on each piece of media?
freakoverse added the
Kind/Enhancement
Priority
Medium
labels 2025-02-20 10:42:13 +00:00
freakoverse added this to the Issues project 2025-02-20 10:42:13 +00:00
freakoverse moved this to To Do in Issues on 2025-02-20 10:42:30 +00:00
Sign in to join this conversation.
No description provided.