matoous/go-nanoid
Golang random IDs generator. observed · 2026-08-28
Health v2 · maintenance only
48/100
- Activity 55
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 3277
- days_rel: 693
- days_push: 273
- n_releases_24m: 1
Adoption not part of the score
1599 stars · 65 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A Go implementation of the nanoid algorithm for generating compact, URL-safe unique identifiers using a cryptographically strong random generator. It produces 22-character IDs with the same uniqueness as UUIDs and supports custom alphabets and lengths.
Use cases
- generate short unique IDs in Go
- replace UUIDs with compact URL-safe identifiers
- generate random IDs with a custom alphabet
- create database record keys that are safe in URLs
- generate session or request identifiers
- produce compact IDs for distributed systems
When to choose
- you need compact, URL-safe unique IDs in a Go project
- you want UUID-level uniqueness in fewer characters
- you need custom alphabets or ID lengths
- you want a small, dependency-free ID generator
When to avoid
- you need IDs that integrate with database UUID support
- you want a maintained, feature-rich ID solution like typeid
- you need sequential or sortable IDs
- you require strict cryptographic guarantees beyond standard CSPRNG usage
Facets
library · maturity maintenance
security serialization developer-tools developer-tools web-development backend go cross-platform nanoid unique-id uuid-alternative random-id-generation url-safe-ids
1 source
- readme: https://github.com/matoous/go-nanoid · fetched 2026-08-28 · 22f74ef90a79
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| matoous/go-nanoid | main | 48 |
For agents
markdown · JSON · MCP: product_card(name="matoous/go-nanoid")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem