I created this issue after reading this french comment about peertube on framacolibri.
I think it would be create to add the ability to create friendly url for an uploaded.
Something similar as you could find on a CMS like wordpress.
PeerTube URL: https://peertube.video
What is the expected behaviour?
Be able to create link like https://peertube.video/videos/watch/my-super-video
Of course, if an url is already taken, then the upload interface tell the user to choose another url.
Only link like https://peertube.video/videos/watch/10c1c52f-82f4-42b7-918b-93e3ad8760fc
Might need some permission checking to prevent abuse, but this is a good idea. If there is a risk of conflict, simply require that the path is prefixed with the username.
We should add friendly url for accounts to (http://peertube.video/@username and/or http://peertube.video/accounts/username) !
@DavidLibeau It's already the case (in develop for now) https://github.com/Chocobozzz/PeerTube/issues/584#issuecomment-391985410
its really a very big URL for sharing a link from peertube.. and ugly.. can't we just create an automatic slug from the title of the video? or have a smaller identifier? this hash is huge and ugly
@Chocobozzz at least my MR/PR was not useless if this 'bad practice' will be fixed now ;)
Would it be an option to use (the first x characters of) a salted hash of that interal ID in the URL? We'd need a reverse lookup table for that, not pretty, but maybe required. Or, as @rigelk suggested:
But if you add another field for videos, a very short random string could do (but would require adding it to the API, which is a bit more work)
Most helpful comment
@DavidLibeau It's already the case (in develop for now) https://github.com/Chocobozzz/PeerTube/issues/584#issuecomment-391985410