{"repo":"lithammer/shortuuid","free":true,"listed":false,"github":"https://github.com/lithammer/shortuuid","clone":"git clone https://github.com/lithammer/shortuuid.git","description":"A generator library for concise, unambiguous and URL-safe UUIDs","language":"Go","stars":1397,"topics":["shortuuid","uuid","go","golang"],"license":"MIT","category":"dev-tools","readme_excerpt":"shortuuid A Go library that generates concise, unambiguous, URL-safe UUIDs. Based on and compatible with the Python library shortuuid . Often, one needs to use non-sequential IDs in places where users will see them, but the IDs must be as concise and easy to use as possible. shortuuid solves this problem by generating UUIDs using google/uuid and then translating them to base57 using lowercase and uppercase letters and digits, and removing similar-looking characters such as l, 1, I, O and 0. Usage To use UUID v5 (instead of the default v4), use NewWithNamespace(name string) instead of New() . It's possible to use a custom alphabet as well (at least 2 characters long). It will automatically sort and remove duplicates from your alphabet to ensure consistency Bring your own encoder! For example, base58 is popular among bitcoin. License MIT","default_branch":null,"files":null,"tree":[],"storefront":"/r/lithammer","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/lithammer/shortuuid/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}