Silly-id ruby gem for generating locale-aware random names

by Glenn square thumb Glenn Jones, published on 21/08/19

I’ve created the gem silly-id to generate random names in a heroku-like manner, based on your locale. I’ve forked it from an existing heroku-like name generator called haikunator, and I’ve extended it to select the nouns and adjectives based on your locale.

To change the locale used, set your appropriate locale using I18n.locale=.

For the first release, English and Dutch are supported, as those are the use-cases I needed to support myself.

If you’d like to contribute, or have a look at the code, have a look at silly-id on Github. The gem itself is hosted on RubyGems: silly-id.

<< Failing gpg signing key gitlab / github, two signing emails

Back to glennjon.es

comments powered by Disqus