LemmyNet / lemmy

🐀 A link aggregator and forum for the fediverse
https://join-lemmy.org
GNU Affero General Public License v3.0
13.27k stars 885 forks source link

Reduce image hosting costs for server owners. #5027

Closed TheOneImprove closed 1 month ago

TheOneImprove commented 1 month ago

Requirements

Is your proposal related to a problem?

Provide solutions to reducing image hosting for the server.

Describe the solution you'd like.

Provide hash deduplication function for images with control for the server owner in the database, by comuting the image hash on the user device while uploading it, while linking the images to the posts.

in simple terms, instead of hosting the same image twice, it get hosted once.

Describe alternatives you've considered.

Additional context

No response

Nutomic commented 1 month ago

pict-rs already deduplicates images if they are identical.