copyparty icon indicating copy to clipboard operation
copyparty copied to clipboard

public export share folder

Open mrpops2ko opened this issue 8 months ago • 3 comments

The way I use copyparty is situating it behind authentik, so i don't have to do any of the worrying about authentication, and let authentik do that. (alongside a reverse proxy + cloudflare) i'm sure this is common for most people.

It would be nice if we could easily create a one time use or time gated online share, located at a different address (maybe even password protected / prompted) and my friends could then share things with their friends on a one time basis.

the way i image this would work, is that each folder or file has a share button. upon clicking that you are presented with a prompt to place; 1. a password, 2. the length of the share existence, (x minutes, hours, days, weeks, months) 3. one time use download checkbox. all of these would be optional settings.

upon clicking share, a new random string (maybe something like 12 digital alpha numeric) will be created at https://copyparty.example.com/share/{random_string}

this would then allow us to create specific public whitelists for the /share/* on our reverse proxies so that they don't go through the authentication process. it doesn't specifically have to be /share/ it can be user defined or hard coded - just something that is consistent so that we can bypass authentication apps

this could also further be customised with server settings that prevent say the base directories from being shared, or putting an arbitary limit on the total size that can be shared but those two seem niche and more effort - its likely that if the person who is sharing these things with their friends, they can trust their friends not to then not share everything to the world

Describe any alternatives you've considered i've considered using various other apps to do this instead, but its way more a hassle since it would require replicating the files, instead a copyparty native solution is the ideal medium

mrpops2ko avatar May 31 '24 09:05 mrpops2ko