This library written in Golang generates a random code name meant for naming software releases if you run short of inspiration.
Currently based on the pattern "[Superb] [Superhero]".
A few examples of generated codenames:
- Marvelous Meggan
- Prime Doll
- Priceless Ultimo
- Fabulous Longshot
- Wonderful Plazm
First, download the project.
go get -u github.com/jgautheron/codename-generator
Then in your code:
import "github.com/jgautheron/codename-generator"
// Sanitized returns a safe string, ex. "awesome-hero".
cn, err := codename.Get(codename.Sanitized)
Contributions are most welcome, especially for enlarging the words pool.
Instructions are documented in CONTRIBUTING.md.
The dictionaries are from:
MIT
Jonathan Gautheron - jgautheron [A-T] neverblend.in
https://twitter.com/jgautheron