The FriendlyID tool that converts a given UUID to a URL-friendly ID which is based on Base62
$ friendlyid c3587ec5-0976-497f-8374-61e0c2ea3da5
5wbwf6yUxVBcr48AMbz9cb
$ friendlyid 5wbwf6yUxVBcr48AMbz9cb
c3587ec5-0976-497f-8374-61e0c2ea3da5
$ friendlyid
2IxLZbPQmMuamgy3tapZsM
$ friendlyid -h
FriendlyID tool — converts UUIDs to URL-friendly Base62 IDs and vice versa
Usage: friendlyid [UUID|FRIENDLYID]
Arguments:
[UUID|FRIENDLYID] UUID to encode, or FriendlyID to decode. Omit to generate a new FriendlyID
Options:
-h, --help Print help
-V, --version Print version
$ sudo dnf copr enable mariuszs/rust
$ sudo dnf install friendlyid
$ cargo install friendlyid
Use binary friendlyid or friendlyid.exe downloaded from https://github.com/mariuszs/rust-friendlyid/releases
Download and install DEB or RPM from https://github.com/mariuszs/rust-friendlyid/releases
