thomiceli / opengist

Self-hosted pastebin powered by Git, open-source alternative to Github Gist.
https://opengist.io
GNU Affero General Public License v3.0
1.7k stars 90 forks source link

Admin option to use shorter UUIDs #295

Closed TheZoker closed 1 week ago

TheZoker commented 4 months ago

Would be amazing, if there was an option to use shorter IDs, so for example a94283 instead of a94283d903484fa1bcee8cc66612b15c. For an instance with a lot of members and for high security I understand, that this may be unwanted, but for me the long url is not visually appealing.

Maybe some system like git uses for the commits, where each commit has a long ID and a short one. And an option in the admin interface to use the short version would be amazing!

thomiceli commented 3 months ago

Maybe simply keeping the long uuid but gists may be queryable by with the beginning of the uuid