# jetify-com/typeid

Type-safe, K-sortable, globally unique identifier inspired by Stripe IDs

Repository: https://github.com/jetify-com/typeid
Canonical: https://ross.abutalabs.com/products/typeid
Language: Go
License: Apache-2.0
License Family: permissive
Topics: guid, uuid, uuidv7, typeid
Last push: 2026-07-17T18:05:03+00:00

## Health v2 (maintenance only)
Score: 61/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 93, release rhythm 8, longevity 84
- inputs: {"age_days": 1183, "days_push": 47, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 3633, forks 55 (observed 2026-08-28T04:08:12.604959+00:00)

## What it is
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
- artifact type: library
- maturity: active
- function: serialization, database, developer-tools
- domain: databases, developer-tools, apis
- platform: go, cross-platform
- tags: uuid, uuidv7, typeid, identifiers, k-sortable, stripe-inspired

## Member repositories
- jetify-com/typeid (main) score 61

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:12.604959+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:31:51.879026+00:00, confidence not recorded.
  - readme: https://github.com/jetify-com/typeid (fetched 2026-08-28T04:08:12.604959+00:00, sha 797c958a64bf)
- Data as of 2026-08-30T08:39:29.467469+00:00.
