Generate a readable name for throwaway infrastructure
readable-name-generatorcapable_munsonreadable-name-generator --initial-seed 1flexible_briseglacereadable-name-generator --initial-seed 1 --separator "###"flexible###briseglaceYou can further reduce the chance of a collision by suffixing a random number
readable-name-generator --initial-seed 1 --suffixvivacious_demibold8readable-name-generator --helpGenerate a readable name for throwaway infrastructure
Usage: readable-name-generator [OPTIONS]
Options:
-s, --separator <SEPARATOR>
The separator to use [env: READABLE_NAME_GENERATOR_SEPARATOR=] [default: _]
-n, --suffix
Suffix a random number to prevent collisions [env: READABLE_NAME_GENERATOR_SUFFIX=]
-i, --initial-seed <INITIAL_SEED>
Use a known seed to generate the readable name for repeatability [env:
READABLE_NAME_GENERATOR_INITIAL_SEED=]
-c, --completion-shell <COMPLETION_SHELL>
Generate completion for your shell [env: COMPLETION_SHELL=] [possible values: bash,
elvish, fish, powershell, zsh]
-h, --help
Print help
-V, --version
Print versionWe also have a docker image
docker run --rm -it ghcr.io/purplebooth/readable-name-generator:latest -i 1flexible_briseglaceDownload the latest release and run it. I install it with homebrew. Or you could use docker.
Binaries for Windows, Linux and MacOS are available on the releases page
Packages are available for various platforms, including Debian, Arch Linux, RPM-based distributions, Alpine, and Docker.
You can access them on the packages page.
Additionally, a Homebrew repository is provided:
brew install PurpleBooth/repo/readable-name-generatorTo run the tests, run
just testTo run the end-to-end tests, run
just specdownTo automatically tidy up the code in whatever way possible run
just fmtWe have a docker container
docker build -t "codeberg.org/purplebooth/readable-name-generator:latest"
docker run --rm -it codeberg.org/purplebooth/readable-name-generator:latest -i 1flexible_briseglace