lithammer/shortuuid
A generator library for concise, unambiguous and URL-safe UUIDs observed · 2026-08-28
Health v2 · maintenance only
99/100
- Activity 99
- Release rhythm 99
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 4
- age_days: 3972
- days_rel: 7
- days_push: 9
- n_releases_24m: 4
Adoption not part of the score
1398 stars · 63 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A Go library that generates concise, unambiguous, URL-safe UUIDs by encoding standard UUIDs to base57, removing look-alike characters. It supports v4, v5, and v7 UUIDs, custom alphabets, and decoding back to standard UUID form.
Use cases
- generate short url-safe unique ids for user-facing urls
- generate readable non-sequential ids for database records
- create time-sortable short ids from uuid v7
- encode uuids with a custom alphabet like base58
- decode short ids back to standard uuids
When to choose
- you need short, human-friendly, URL-safe unique identifiers in Go
- you want compatibility with the Python shortuuid library
- you need deterministic ids derived from names via uuid v5
When to avoid
- you need cryptographically short opaque ids with secrecy guarantees
- you are not working in Go or need cross-language support beyond Python compatibility
- standard uuids are acceptable and you want zero dependencies
Facets
library · maturity stable
serialization developer-tools developer-tools backend apis go cross-platform uuid shortuuid base57 id-generation url-safe
4 sources
- readme: https://github.com/lithammer/shortuuid · fetched 2026-08-28 · bfb3739e8822
- homepage: https://pkg.go.dev/github.com/lithammer/shortuuid/v4 · fetched 2026-08-29 · 542c4131b17c
- site_page: https://pkg.go.dev/about · fetched 2026-08-29 · 757852027879
- site_page: https://go.dev/project · fetched 2026-08-29 · d5ca00bb378b
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| lithammer/shortuuid | main | 99 |
For agents
markdown · JSON · MCP: product_card(name="lithammer/shortuuid")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem