jetify-com/typeid
Type-safe, K-sortable, globally unique identifier inspired by Stripe IDs observed · 2026-08-28
Health v2 · maintenance only
61/100
- Activity 93
- Release rhythm 8
- Longevity 84
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: n/a
- age_days: 1183
- days_rel: n/a
- days_push: 47
- n_releases_24m: 0
Adoption not part of the score
3633 stars · 55 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
TypeID is a specification and set of libraries for type-safe, K-sortable, globally unique identifiers that extend UUIDv7 with a snake_case type prefix and base32 encoding. The main repository hosts the formal spec plus official Go, SQL, and TypeScript implementations.
Use cases
- generate type-safe primary keys for database tables
- replace UUIDv4 with sortable IDs for better database locality
- add entity type prefixes to IDs like Stripe does
- convert between UUIDs and prefixed TypeIDs
- encode IDs in a URL-safe, double-click-selectable format
When to choose
- you want Stripe-style prefixed, type-safe identifiers
- you need K-sortable primary keys with good database locality
- you want UUID compatibility with a friendlier encoding
When to avoid
- you need strict RFC-standard UUIDs only
- your system already standardizes on plain UUIDv4/v7
- you need very short identifiers
Facets
library · maturity active
serialization database developer-tools databases developer-tools apis go cross-platform uuid uuidv7 typeid identifiers k-sortable stripe-inspired
1 source
- readme: https://github.com/jetify-com/typeid · fetched 2026-08-28 · 797c958a64bf
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| jetify-com/typeid | main | 61 |
For agents
markdown · JSON · MCP: product_card(name="jetify-com/typeid")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem