rs/xid

xid is a globally unique id generator thought for the web

View on GitHub ↗Jump to charts ↓Open shareable report

Summary Information

Updated 4 minutes ago
Type:Library / SDKCategory(s):Core & Utility LibrariesLanguages & Runtimes
Added to GitGenius on September 16th, 2026
Created on November 10th, 2015
Open Issues & Pull Requests: 18 (+0)
GitHub issues: Enabled
Number of forks: 217
Total Stargazers: 4,281 (+0)
Total Subscribers: 33 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 27.0 hours
Mean response time: 59.4 days
90th percentile: 449.0 days
Tracked items: 8

Most active contributors

Sign in to see contributor activity.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 4
New in 7 days: 0
Closed in 7 days: 0
Avg open age: 1,245 days
Stale 30+ days: 4
Stale 90+ days: 4

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

No label distribution available yet.

Most active issues this week

No issue events were indexed in the last 7 days.

Detailed Description

xid is a globally unique ID generator for web applications.

The project addresses the need for distributed ID generation without relying on a central database or coordination service. It generates IDs that are globally unique across systems, sortable by timestamp, and compact enough for practical use in web services. The approach uses a combination of timestamp, machine identifier, process ID, and a counter to ensure uniqueness while maintaining a small binary footprint suitable for URLs and databases.

Developers should choose xid when building distributed systems that need simple, reliable ID generation without external dependencies or complex setup. It works well for applications requiring sortable IDs that encode temporal information, making it suitable for logging, event tracking, and database record identification. The tool is particularly valuable in microservice architectures where multiple instances need to generate IDs independently without coordination overhead.

The project shows consistent maintenance with regular updates addressing edge cases and performance considerations. Development activity demonstrates responsiveness to reported issues and a focus on stability rather than frequent feature additions. The codebase receives ongoing refinement to ensure the ID generation algorithm remains robust across different deployment scenarios.