alfg / guildbit

:sound: Mumble Hosting Platform
https://guildbit.com
56 stars 8 forks source link

URL Shortener #8

Closed alfg closed 9 years ago

alfg commented 10 years ago

It would be nice to have some sort of URL shortener so users can share their server page easier with a smaller url, especially for sharing over a game's chat window.

http://guildbit.com/server/8234cac3-862f-4c30-82fe-f31e4b2b12b0

compared to

http://guildbit.com/FEafe3

It should work like this: http://code.activestate.com/recipes/576918/

Using the ID as the key to output the generated string.

alfg commented 10 years ago

After some thinking, we should not go with the linked approach above since it wouldn't be too difficult to figure the algorithm links to IDs in sequential order. Therefore, a user would be able to scan through IDs and see people's unique generated pages.

It should just be a url shortener service based on the URL, rather than the ID from the database.

alfg commented 10 years ago

https://github.com/stochastic-technologies/shortuuid another option