uuidv7

Open-source projects categorized as uuidv7

Top 9 uuidv7 Open-Source Projects

  • typeid

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

  • Project mention: ULIDs and Primary Keys | news.ycombinator.com | 2024-04-12

    I’ve seen this sort of design referred to as “typed IDs”: https://github.com/jetify-com/typeid

    Doesn’t use the crockford encoding, but does is another one that minimises confusables.

  • pg_uuidv7

    A tiny Postgres extension to create version 7 UUIDs

  • Project mention: Shrink UUIDs with PostgreSQL or Ruby | dev.to | 2024-02-23

    Unfortunately, as of PostgreSQL 16, UUIDv7 are not yet supported out of the box. For the time being, use an extension such as pg_uuidv7 or pg_idkit to generate UUIDv7 e.g. as default primary key when you CREATE new records.

  • 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
  • typeid-js

    TypeScript implementation of TypeIDs: type-safe, K-sortable, and globally unique identifiers inspired by Stripe IDs

  • Project mention: Adding type safety to object IDs in TypeScript | news.ycombinator.com | 2024-01-30

    If you want a type-prefixed UUIDv7 type, I can wholeheartedly recommend TypeID-JS: https://github.com/jetpack-io/typeid-js

    Also available for a whole bunch of other languages: https://github.com/jetpack-io/typeid

    UUIDv7 is UUIDv4-compatible (i.e. you can put a v7 UUID anywhere a v4 UUID would go, like in Postgres's UUID datatype) and is time-series sortable, so you don't lose that nice lil' benefit of auto-incrementing IDs.

    And if you use something like TypeORM to define your entities, you can use a Transformer to save as plain UUIDv7 in the DB (so you can use UUID datatypes, not strings), but deal with them as type-prefixed strings everywhere else:

    ```

  • typeid-go

    Go implementation of TypeIDs: type-safe, K-sortable, and globally unique identifiers inspired by Stripe IDs

  • Project mention: Type-safe, K-sortable, globally unique identifier inspired by Stripe IDs | news.ycombinator.com | 2023-06-28

    We've now implemented pretty thorough testing: https://github.com/jetpack-io/typeid-go/blob/main/typeid_tes...

    Thanks for the feedback!

  • uuid6-python

    New time-based UUID formats which are suited for use as a database key

  • uuid-utils

    Python bindings to Rust UUID

  • typeid-sql

    SQL implementation TypeIDs: type-safe, K-sortable, and globally unique identifiers inspired by Stripe IDs

  • Project mention: Type-safe, K-sortable, globally unique identifier inspired by Stripe IDs | news.ycombinator.com | 2023-06-28

    The authors have created a specialisation for Postgres that leverages a custom type which is a tuple of type and uuidv7: https://github.com/jetpack-io/typeid-sql/blob/main/sql/typei...

    This is more optimal for Postgres while making it slightly more difficult to interop between the db and the language (db driver needs to handle custom types, and you need to inject a custom type converter).

    And while there are hacks you can do to make storing uuid-alikes as strings less terrible for db engines, if you want the best performance and smallest space consumption (compressed or not) make sure to use native ID types or convert to BINARY/numeric types.

  • 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
  • typeid-ts

    TypeID UUIDv7 implementation in Typescript (Lib and CLI)

  • Project mention: Type-safe, K-sortable, globally unique identifier inspired by Stripe IDs | news.ycombinator.com | 2023-06-28
  • go-uuid

    A simple, stdlib only, go module for generating UUIDs (Universally Unique IDentifiers). (by cmackenzie1)

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

uuidv7 related posts

Index

What are some of the best open-source uuidv7 projects? This list will help you:

Project Stars
1 typeid 2,744
2 pg_uuidv7 232
3 typeid-js 207
4 typeid-go 101
5 uuid6-python 92
6 uuid-utils 77
7 typeid-sql 67
8 typeid-ts 34
9 go-uuid 13

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com