Need help with haikunator?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

usmanbashir
440 Stars 38 Forks MIT License 32 Commits 3 Opened issues

Description

Heroku-like random name generator.

Services available

!
?

Need anything else?

Contributors list

# 234,668
Heroku
JavaScr...
CSS
Shell
21 commits
# 354,933
terrafo...
Terrafo...
HTML
Heroku
1 commit
# 466,872
Heroku
HTML
CSS
1 commit
# 16,981
Node.js
v8
c-plus-...
Chrome
1 commit
# 158,130
R
mlp
shiny-a...
hugo
1 commit
# 85,889
pde
Dart
sublime...
Sublime...
1 commit

Haikunator

Gem Version Build Status Coverage Status

Generate Heroku-like memorable random names to use in your apps or anywhere else.

Installation

Add this line to your application's Gemfile:

gem 'haikunator'

And then execute:

$ bundle

Or install it yourself as:

$ gem install haikunator

Usage

Haikunator is pretty simple. There is nothing to configure and it only has a single method,

.haikunate
:
Haikunator.haikunate # => "rough-snowflake-1142"

Token range

Haikunator.haikunate(100) # => "nameless-star-13"

Don't include the token

Haikunator.haikunate(0) # => "long-flower"

Use a different delimiter

Haikunator.haikunate(9999, '.') # => "cool.leaf.6743"

No token, no delimiter

Haikunator.haikunate(0, ' ') # => "green fire"

Contributing

Everyone is encouraged to help improve this project. Here are a few ways you can help:

Language Ports

Haikunator has also been ported to other languages. Though, these projects are not affiliated with or endorsed by me, but check them out:

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.