friendlyid

Crates.iofriendlyid
lib.rsfriendlyid
version0.3.0
sourcesrc
created_at2020-09-08 20:18:17.924683
updated_at2020-09-08 20:23:27.187545
descriptionThe FriendlyID tool that converts a given UUID to a URL-friendly ID which is based on Base62
homepagehttps://github.com/Devskiller/friendly-id
repositoryhttps://github.com/mariuszs/rust-friendlyid
max_upload_size
id286305
size15,216
Mariusz Smykuła (mariuszs)

documentation

README

Build Status Copr build status

friendlyid converter

The FriendlyID application that converts a given UUID to a URL-friendly ID which is based on Base62

Sample usage

Convert UUID to FriendlyID

$ friendlyid c3587ec5-0976-497f-8374-61e0c2ea3da5                                                                                                      ✔ 
5wbwf6yUxVBcr48AMbz9cb

Convert FriendlyID to UUID

$ friendlyid 5wbwf6yUxVBcr48AMbz9cb                                                                                                                    ✔ 
c3587ec5-0976-497f-8374-61e0c2ea3da5

Display help

$ friendlyid -h                                                                                                                                        ✔ 
FriendlyId Converter 0.1.0

The FriendlyID library converts a given UUID to a URL-friendly ID which is based on Base62

USAGE:
    friendlyid [FLAGS] <ID>

ARGS:
    <ID>    ID to convert

FLAGS:
    -d, --decode     Decode friendlyId
    -h, --help       Prints help information
    -V, --version    Prints version information

Installation

Fedora - install using package manager

$ sudo dnf copr enable mariuszs/rust
$ sudo dnf install friendlyid 

Install using cargo

$ cargo install friendlyid 

Download binary from github (linux or windows)

Use binary friendlyid or friendlyid.exe downloaded from https://github.com/mariuszs/rust-friendlyid/releases

Use package appropriate for your linux distribution (RPM or DEB)

Download and install DEB or RPM from https://github.com/mariuszs/rust-friendlyid/releases

Commit count: 31

cargo fmt