plik
plik copied to clipboard
[Feature Request] allow admin to choose the share URL
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)
This would be especially useful in combination with #412
#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.
Yeah exactly something like that
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?
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: @.***>
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.