XI

XID – Dependency-Free Unique ID Generator in One C File

Hacker News

XID – Dependency-Free Unique ID Generator in One C File

XID generates 20-character globally unique IDs (48-bit timestamp + 64-bit entropy + 8-bit counter + 5-bit checksum) in a single C file with zero dependencies. Features built-in timestamp extraction, collision resistance, and portable design for any platform - ideal for databases, IoT, and distributed systems. char id = xid_generate(); // => "01H5Z7K4W9A3B6C8D0F2G" Gists: https://gist.github.com/Ferki-git-creator/17450d52d143f746f0... (Feedback wanted: entropy improvements, embedded use cases, optimizations)*

Share card

Actual performance

7points
2comments
Made the leaderboard

Launch Intel predictions

Analyze your own launch →
Indie HackersFits the IH revenue-focused audience · Missing: supports, reddit linkedin, podcasting
63%63% predicted probability of success on Indie Hackers, based on ML models trained on real launch data.
best fitHighest predicted score across all platforms for this description.
Hacker NewsStrong engagement from HN community · Strong signals: ide, io · Missing: https docs, excited, just released
54%54% predicted probability of success on Hacker News, based on ML models trained on real launch data.
nativeThis product was originally launched on this platform.
AppSumoStrong fit for a featured deal · Strong signals: platform · Missing: plus, intuitive, reviews
51%51% predicted probability of success on AppSumo, based on ML models trained on real launch data.
Product HuntUnlikely to reach the leaderboard · Strong signals: single · Missing: mac, agents, macos
30%30% predicted probability of success on Product Hunt, based on ML models trained on real launch data.
TrustMRRLess likely to generate early MRR · Missing: mobile apps, ios, personal
28%28% predicted probability of success on TrustMRR, based on ML models trained on real launch data.
Acquire.comPre-revenue stage for this audience · Missing: arr, mrr, revenue
22%22% predicted probability of success on Acquire.com, based on ML models trained on real launch data.
BetaListMay not resonate with beta-testers · Missing: web3, chat, crypto
2%2% predicted probability of success on BetaList, based on ML models trained on real launch data.

Correct prediction on native model

Similar products

K-
K-ordered unique id in decentralised manner for Go39%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

K-ordered unique id in decentralised manner for Go

Hacker News3
So
Sonyflake – distributed unique ID generator implemented in Rust57%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Sonyflake – distributed unique ID generator implemented in Rust

Hacker News66
UP
UPID – a unique ID with built-in prefix62%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

UPID – a unique ID with built-in prefix

Hacker News5
Sh
Short unique ordered ID generator[Python]37%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Short unique ordered ID generator[Python]

Hacker News2
Qu
Quench: The Gulp file generator40%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Quench: The Gulp file generator

Hacker News1
Fl
FlocBloc: Obfuscate Your FLoC ID43%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

FlocBloc: Obfuscate Your FLoC ID

Hacker News2
Fl
FlocBloc: Obfuscate Your FLoC ID43%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

FlocBloc: Obfuscate Your FLoC ID

Hacker News5
Fl
FlocBloc – Obfuscate/Spoof your FLoC cohort id43%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

FlocBloc – Obfuscate/Spoof your FLoC cohort id

Hacker News5
Fl
FlocBloc – Obfuscate/Spoof your FLoC cohort id43%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

FlocBloc – Obfuscate/Spoof your FLoC cohort id

Hacker News1
ih
ihwan․id43%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.
TrustMRR3$14/moMobile Apps