golang-petname(1)

golang-petname1

Utility to generate "pet names", consisting of a random combination of adverbs, an adjective, and a proper name

Usage

golang-petname [{-w | --words INT}] [{-s | --separator STR}]

Options

--words number of words in the name, default is 2
--separator string used to separate name words, default is '-'

Overview

This utility will generate "pet names", consisting of a random combination of an adverb, adjective, and proper name. These are useful for unique hostnames, for instance.

The default packaging contains about 2000 names, 1300 adjectives, and 4000 adverbs, yielding nearly 10 billion unique combinations, covering over 32 bits of unique namespace.

As such, PetName tries to follow the tenets of Zooko's triangle. Names are:

- human meaningful
- decentralized
- secure

Examples

$ golang-petname
wiggly-Anna

$ golang-petname --words 1
Marco

$ golang-petname --words 3
quickly-scornful-Johnathan

$ golang-petname --words 4
dolorously-leisurely-wee-Susan

$ golang-petname --separator ":"
hospitable:Isla

$ golang-petname --separator "" --words 3
adeptlystaticNicole

Releases

Unchanged in 2 releases since Debian 12 (Bookworm).

  1. 12–13

Author

This manpage and the utility were written by Dustin Kirkland <[email protected]> for Ubuntu systems (but may be used by others). Permission is granted to copy, distribute and/or modify this document and the utility under the terms of the Apache2 License.

The complete text of the Apache2 License can be found in /usr/share/common-licenses/Apache-2.0 on Debian/Ubuntu systems.

From golang-petname 2.11-1+b8 in Debian 13 (Trixie). Parsed by carta from the page's man source.