Codenamr is a tool for generating memorable code names in various formats. It creates random verb-noun combinations that are easy to remember and perfect for naming projects, branches, or any other code-related entities.
To install the Codenamr CLI, run the following command:
curl -fsSL https://codenamr.vercel.app/codenamr.sh | bash -s -- installThis script will:
- Check for Rust installation
- Clone the repository
- Build the CLI in release mode
- Install the executable to
/usr/local/bin/codenamr
To update the Codenamr CLI to the latest version:
curl -fsSL https://codenamr.vercel.app/codenamr.sh | bash -s -- updateThis script will pull the latest changes, rebuild, and reinstall the CLI.
To uninstall the Codenamr CLI:
curl -fsSL https://codenamr.vercel.app/codenamr.sh | bash -s -- uninstallThis will remove the codenamr executable from /usr/local/bin.
Generate a single code name:
codenamrOutput:
searching laptop
Specify the output format for the generated names. Available formats:
normal- Space-separated words (default):searching laptopkebab- Kebab case:searching-laptopsnake- Snake case:searching_laptopconstant- Constant case:SEARCHING_LAPTOPcamel- Camel case:searchingLaptoppascal- Pascal case:SearchingLaptop
codenamr --format kebab
codenamr -f snakeGenerate multiple names at once:
codenamr --count 5Output:
searching laptop
talking phone
walking garden
eating river
running mountain
Copy the first generated name (or all names if count > 1) directly to clipboard:
codenamr --copy
codenamr -n 10 --copyUse a specific random seed for reproducible name generation:
codenamr --seed 12345Running this command multiple times with the same seed will always produce the same name.
Add a custom prefix to each generated name:
codenamr --prefix myprojectOutput:
myproject searching laptop
codenamr -f kebab --prefix myprojectOutput:
myproject-searching-laptop
Add a custom suffix to each generated name:
codenamr --suffix v1Output:
searching laptop v1
Display memorability scores for each generated name (0-100 scale):
codenamr --count 3 --scoreOutput:
searching laptop (score: 78.5)
talking phone (score: 75.0)
walking garden (score: 80.0)
You can combine multiple options for powerful name generation:
codenamr -f pascal -n 5 -p myapp -s 42 --copy --scoreThis generates 5 Pascal-cased names with the prefix "myapp", using seed 42 for reproducibility, copies them to clipboard, and shows memorability scores.
Generate 10 kebab-case names for feature branches:
codenamr -f kebab -n 10Generate a single camelCase name with prefix and copy to clipboard:
codenamr -f camel -p user --copyGenerate reproducible names for documentation:
codenamr --seed 99999 -f constantCreate PascalCase class names with suffix:
codenamr -f pascal -u Service -n 3- Maximum count: 1,000,000 names per command
- Names are generated from a curated list of 140 verbs and 200+ nouns
- Memorability scoring considers length, word count, phonetics, repetition, common words, and alliteration