fly.io name generator is so cool

Just wanted to note that the name generator fly.io is using is so cool. holy-violet, broken-fog, yay! Does anyone know if this is coming from a public service?

2 Likes

It is nice! Glancing at the source code, it’s a small internal package of their own called haikunator, with hardcoded dictionaries:

var adjectives = strings.Fields(`
        autumn hidden bitter misty silent empty dry dark summer
        icy delicate quiet white cool spring winter patient
        twilight dawn crimson wispy weathered blue billowing
        broken cold damp falling frosty green long late lingering
        bold little morning muddy old red rough still small
        sparkling thrumming shy wandering withered wild black
        young holy solitary fragrant aged snowy proud floral
        restless divine polished ancient purple lively nameless
`)

var nouns = strings.Fields(`
        waterfall river breeze moon rain wind sea morning
        snow lake sunset pine shadow leaf dawn glitter forest
        hill cloud meadow sun glade bird brook butterfly
        bush dew dust field fire flower firefly feather grass
        haze mountain night pond darkness snowflake silence
        sound sky shape surf thunder violet water wildflower
        wave water resonance sun log dream cherry tree fog
        frost voice paper frog smoke star
`)

It basically just chooses one from each of those lists, at random, so it would be easy to craft your own, :bluegreen_artist:

1 Like

should have some options Elixir related like `alchemist`

1 Like

Awesome! Thanks a lot for checking this out. haikunator, what a nice idea.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.