Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Show HN: Idt – A Swiss Army Knife for UUID, ULID, Snowflake, and More (github.com/sh-cho)
2 points by sh-cho 38 days ago | hide | past | favorite | 2 comments
Got sick of googling "uuid generator" or "nanoid generator" every time and hoping the site isn't sketchy. Also, uuidgen only does v4 — doesn't help when you need UUIDv7, ULID, Snowflake, or want to inspect what's inside an ID.

So I made idt(ID Tool). One CLI that generates, inspects, validates, converts, and sorts various ID formats. Auto-detects the type so you don't have to remember.

Supports UUID (v1–v7), ULID, Snowflake (Twitter/Discord/Instagram/Mastodon presets), KSUID, NanoID, TypeID, CUID2, and also validates assigned IDs like ISBN, EAN, ISIN.

Written in Rust. I set up SLSA Level 3 provenance and signed releases mostly as a learning exercise — wanted to see what proper supply chain security looks like for a small project. All release publishing uses OIDC-based trusted publishing (keyless), except for Docker Hub (no OIDC support) and the GitHub App private key which is unavoidable.

Available via cargo, Homebrew, Nix, and Docker.

Still early days. Feedback, suggestions, or feature requests are all welcome.

https://github.com/sh-cho/idt



Finally a single tool that handles Snowflake presets for Twitter/Discord/Instagram. The pipe support is great too, `idt gen ulid -n 5 | idt sort --show-time` is exactly the kind of composability you want in a CLI. Written in Rust?


Yes written in Rust :)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: