The UX of UUIDs

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • spec

    The canonical spec for ulid

  • Can use ULID to "fix" some issues

    https://github.com/ulid/spec

  • cybertoken

    A token format for APIs inspired by GitHub's API token format.

  • I built cybertoken [1] for API keys and passwords, not (only) IDs. It is basically the format that GitHub uses for their api keys. Underscores, a prefix, so we can get a better debugging experience and automated secret scanning.

    [1]: https://github.com/nikeee/cybertoken

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • uuid6-ietf-draft

    Next Generation UUID Formats

  • https://github.com/uuid6/uuid6-ietf-draft/issues/27

  • new-uuid-encoding-techniques-ietf-draft

    New UUID Encoding Techniques

  • https://github.com/uuid6/new-uuid-encoding-techniques-ietf-d...

    But there is always TypeID in the meantime which uses UUIDv7 under the hood: https://github.com/jetify-com/typeid

    Either way, I am in favor of prefixing and using alternative encodings, but it will need some time to figure out the best route. In the mean time, there are so many alternatives. TypeID, NanoID, ULID, etc. I even made my own quick one just for giggles: https://github.com/daegalus/snowflakes

  • https://github.com/uuid6/new-uuid-encoding-techniques-ietf-d...

    But there is always TypeID in the meantime which uses UUIDv7 under the hood: https://github.com/jetify-com/typeid

    Either way, I am in favor of prefixing and using alternative encodings, but it will need some time to figure out the best route. In the mean time, there are so many alternatives. TypeID, NanoID, ULID, etc. I even made my own quick one just for giggles: https://github.com/daegalus/snowflakes

  • typeid

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

  • https://github.com/uuid6/new-uuid-encoding-techniques-ietf-d...

    But there is always TypeID in the meantime which uses UUIDv7 under the hood: https://github.com/jetify-com/typeid

    Either way, I am in favor of prefixing and using alternative encodings, but it will need some time to figure out the best route. In the mean time, there are so many alternatives. TypeID, NanoID, ULID, etc. I even made my own quick one just for giggles: https://github.com/daegalus/snowflakes

  • snowflakes

    Custom unique identifier tokens

  • https://github.com/uuid6/new-uuid-encoding-techniques-ietf-d...

    But there is always TypeID in the meantime which uses UUIDv7 under the hood: https://github.com/jetify-com/typeid

    Either way, I am in favor of prefixing and using alternative encodings, but it will need some time to figure out the best route. In the mean time, there are so many alternatives. TypeID, NanoID, ULID, etc. I even made my own quick one just for giggles: https://github.com/daegalus/snowflakes

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • django-spicy-id

    🌶️ Cool "Stripe-style" self-identifying row IDs for Django. A drop-in replacement AutoField.

  • Nice list, found a couple projects I hadn't seen before.

    My addition for your consideration: https://github.com/mik3y/django-spicy-id

  • cuid2

    Next generation guids. Secure, collision-resistant ids optimized for horizontal scaling and performance.

  • The CUID readme [1] explains that there's no real point to K-sortable on modern hardware:

    [1] https://github.com/paralleldrive/cuid2?tab=readme-ov-file#no...

  • brain

    Swyx's second brain! (by swyxio)

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts