Skip to content

Create "readable" UUIDs such as "5eedbed5-f05e-b055-ada0-d15ab11171e5" for all your UUID needs!

Notifications You must be signed in to change notification settings

operator-name/vanity-uuid

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

What is this?

UUIDs (or GUIDs) are quite commonly used from filesystems to databases. Instead of relying on uuidgen to generate unreadable garbage such as 2acb01ee-885a-43a0-922e-9b34360082f4, why not bend the spec a little (or a lot) and generate instantly memorable and somewhat readable V4 UUIDs such as bea71e55-a1ec-4e5f-a5c0-c0e10b1a571c?

Just clone this repository or download the release and run ./vanity-uuid{4,-nospec}-arx today! Note: running arx is something like x6 slower.

Development

  • Install nix.
  • Basically everything is in default.nix, because this repo is basically a practice for understanding nixpkgs.
  • Create single file binaries that are supposedly 100% crossplatform using:
    • nix-build -A vanity-uuid4-arx && cp $(readlink result) bin/arx/vanity-uuid4-arx
    • nix-build -A vanity-uuid-nospec-arx && cp $(readlink result) bin/arx/vanity-uuid-nospec-arx

"Inspiration"

About

Create "readable" UUIDs such as "5eedbed5-f05e-b055-ada0-d15ab11171e5" for all your UUID needs!

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages