plik icon indicating copy to clipboard operation
plik copied to clipboard

[Feature Request] allow admin to choose the share URL

Open tionis opened this issue 2 years ago • 6 comments

It would be awesome if an admin could choose the share URL when uploading, so that they could for example recreate shares or use vanity URLs (which may of course be easier to guess)

tionis avatar Apr 08 '22 22:04 tionis

This would be especially useful in combination with #412

tionis avatar Apr 08 '22 22:04 tionis

#412 has been implemented already :)

To confirm, by "choose URL" you mean an extra upload parameter where the admin could choose the download path of an upload (on the same download domain) ?

Like plik --server https://plik.root.gg --download-path /myfile myfile would lead the the file being exposed on https://plik.root.gg/myfile

Honestly I like the idea a lot. And it can be a very fun one to implement. We'll have to blacklist a few keywords as we had the very bad idea to not use a /api prefix for API when we created the project 8 years ago but that's not a big deal.

camathieu avatar Apr 09 '22 05:04 camathieu

Yeah exactly something like that

tionis avatar Apr 09 '22 06:04 tionis

I actually got a few more feature ideas but don't want to spam the repo, should I still post them as issues or do you have a forum/room for discussion?

tionis avatar Apr 09 '22 19:04 tionis

We have a telegram channel if you want to chat.

https://t.me/plik_rootgg

On Sat, 9 Apr 2022, 22:00 Tionis, @.***> wrote:

I actually got a few more feature ideas but don't want to spam the repo, should I still post them as issues or do you have a forum/room for discussion?

— Reply to this email directly, view it on GitHub https://github.com/root-gg/plik/issues/426#issuecomment-1094115979, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABQ5XPWTI7DND3L4DFQUBQTVEHOTZANCNFSM5S5Y7MNA . You are receiving this because you commented.Message ID: @.***>

camathieu avatar Apr 10 '22 07:04 camathieu

This change as well as a few other requires that file names are unique in an upload so that it's possible to not rely on the uploadID/fileID everywhere. Changing milestone to 1.3.7.

camathieu avatar May 17 '22 06:05 camathieu