# RobThree/IdGen

Twitter Snowflake-alike ID generator for .Net

Repository: https://github.com/RobThree/IdGen
Canonical: https://ross.abutalabs.com/products/idgen
Language: C#
License: MIT
License Family: permissive
Topics: snowflake, c-sharp, dotnet, twitter-snowflake, idgenerator, unique-id
Last push: 2025-02-28T02:45:25+00:00

## Health v2 (maintenance only)
Score: 27/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 9, release rhythm 8, longevity 100
- inputs: {"age_days": 4171, "days_push": 551, "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 1313, forks 146 (observed 2026-08-28T04:04:20.363664+00:00)

## What it is
A .NET library that generates 64-bit, roughly time-ordered unique IDs inspired by Twitter's Snowflake. It lets you customize the bit layout of timestamp, generator-id, and sequence parts, but does not provide worker-id coordination services.

## Use cases
- generate unique ids in a distributed .net system
- snowflake-style id generator for c#
- low-latency time-ordered id generation
- generate compact 64-bit unique identifiers
- uncoordinated id generation across multiple hosts
- custom bit layout for id generator timestamp and sequence

## When to choose
- you need low-latency, roughly time-ordered unique IDs in a .NET application
- you can assign unique generator-ids to each host or thread yourself
- you want a customizable bit structure for timestamp, generator-id, and sequence

## When to avoid
- you need a service that coordinates worker-ids across nodes automatically
- you need globally coordinated or strictly ordered IDs
- you are not on the .NET platform

## Facets
- artifact type: library
- maturity: stable
- function: sdk, developer-tools
- domain: databases, microservices, developer-tools
- platform: dotnet, cross-platform
- tags: snowflake, id-generation, unique-ids, c-sharp, distributed-systems

## Member repositories
- RobThree/IdGen (main) score 27

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:20.363664+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-30T04:48:49.105391+00:00, confidence not recorded.
  - readme: https://github.com/RobThree/IdGen (fetched 2026-08-28T04:04:20.363664+00:00, sha 6963ac0d064a)
- Data as of 2026-08-30T08:39:29.467469+00:00.
