Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How does heroku come up with app names?

Tags:

heroku

names

Curious how heroku creates app names. The app names are usually english words such as bloom-peaks or formal-trail. This was also the case with the IT department at a big company. Is there a unix library that does the name generation?

like image 296
aarti Avatar asked Mar 20 '14 20:03

aarti


People also ask

Are Heroku app names unique?

After a second or two, Heroku will have created a new app and have chosen a random name for it. This ensures that your app name is globally unique across the entire Heroku platform, making it possible to use the app name as a part of your domain name.

Can you change Heroku app name?

It is possible to rename an application by using the heroku:rename command. The application becomes accessible by the new name immediately, and the old name should not be used anymore to address it.

How do I rename my Heroku app URL?

If you want to rename your app, run heroku apps:rename [newname] in the app folder and swap out newname with the name that you want to change to. You can also see a complete list of Heroku apps that you're a creator or contributor to by running heroku apps .


1 Answers

We wrote our own code to generate the names, it is pretty simple. Basically there is a list of adjectives, and one of nouns. We pick one of each at random and append a random number, then we check to ensure we didn't randomly pick an existing name (if we did, we just try again) and then give that back. Hope that helps!

like image 54
geemus Avatar answered Sep 18 '22 12:09

geemus