Skip to content

Instantly share code, notes, and snippets.

@ryaninvents
Last active August 29, 2015 14:24
Show Gist options
  • Save ryaninvents/5ad59b3ef2ab0bf07598 to your computer and use it in GitHub Desktop.
Save ryaninvents/5ad59b3ef2ab0bf07598 to your computer and use it in GitHub Desktop.
Hipsteroku name generator

Generates hipster-ish Heroku-style names.

tattooed-skateboard-3254

try-hard-wolf-3343

pop-up-cronut-4510

heirloom-mimosa-3946

hella-seitan-3900

direct-trade-wolf-5861

slow-carb-messenger-bag-9074

try-hard-cred-9871

shabby-chic-pug-9030

street-art-quinoa-0181

asymmetrical-sriracha-0228

asymmetrical-leggings-0742

retro-selfie-9755

const BEFORE_IT_WAS_COOL = [
'twee', 'post-ironic', 'single-origin', 'authentic', 'organic', 'actually', 'plaid', 'flannel',
'retro', 'raw', 'denim', 'viral', 'whatever', 'tattooed', 'ugh', 'small-batch',
'chillwave', 'hella', 'meh', 'yolo', 'slow-carb', 'diy', 'heirloom', 'readymade',
'tousled', 'artisanal', 'taxidermy', 'pour-over', 'lo-fi', '8-bit', 'vegan', 'gluten-free',
'paleo', 'craft', 'ethical', 'pickled', 'shabby-chic', 'literally', 'farm-to-table', 'sustainable',
'normcore', 'asymmetrical', 'cliche', 'cold-pressed', 'flexitarian', '90s', 'scenester', 'vinyl',
'cray', 'direct-trade', 'biodiesel', 'reclaimed', 'locavore', 'try-hard', 'next-level', 'mumblecore',
'disruptive','chambray','bespoke','street-art','pop-up','sold-out','xoxo','sartorial'
];
const YOU_PROBABLY_HAVENT_HEARD_OF = [
'tofu', 'narwhal', 'mustache', 'kale-chips', 'cronut', 'bitters', 'synth', 'blog',
'quinoa', 'pork-belly', 'beard', 'messenger-bag', 'beer', 'umami', 'roof-party', 'swag',
'hashtag', 'wolf', 'hoodie', 'skateboard', 'listicle', 'brunch', 'cardigan', 'photo-booth',
'cornhole', 'leggings', 'selfie', 'chia', 'jean-shorts', 'meditation', 'aesthetic', 'cred',
'fashion', 'axe', 'mixtape', 'squid', '8-track', 'butcher', 'keytar', 'banjo',
'cold-brew', 'fingerstache', 'seitan', 'food-truck', 'vhs', 'sriracha', 'dreamcatcher', 'fixie',
'tote-bag', 'typewriter', 'kitsch', 'irony', 'mimosa', 'wayfarer', 'pug', 'intelligentsia',
'collard-greens', 'frisbee', 'helvetica', 'trust-fund', 'tilde', 'portland' //, '', ''
];
function hipsteroku() {
return [
BEFORE_IT_WAS_COOL[Math.floor(Math.random()*BEFORE_IT_WAS_COOL.length)],
YOU_PROBABLY_HAVENT_HEARD_OF[Math.floor(Math.random()*YOU_PROBABLY_HAVENT_HEARD_OF.length)],
Array(4).map(() => ''+Math.floor(Math.random()*10)).join('')
].join('-');
}
export default hipsteroku;
'use strict';
var BEFORE_IT_WAS_COOL = [
'twee', 'post-ironic', 'single-origin', 'authentic', 'organic', 'actually', 'plaid', 'flannel',
'retro', 'raw', 'denim', 'viral', 'whatever', 'tattooed', 'ugh', 'small-batch',
'chillwave', 'hella', 'meh', 'yolo', 'slow-carb', 'diy', 'heirloom', 'readymade',
'tousled', 'artisanal', 'taxidermy', 'pour-over', 'lo-fi', '8-bit', 'vegan', 'gluten-free',
'paleo', 'craft', 'ethical', 'pickled', 'shabby-chic', 'literally', 'farm-to-table', 'sustainable',
'normcore', 'asymmetrical', 'cliche', 'cold-pressed', 'flexitarian', '90s', 'scenester', 'vinyl',
'cray', 'direct-trade', 'biodiesel', 'reclaimed', 'locavore', 'try-hard', 'next-level', 'mumblecore',
'disruptive','chambray','bespoke','street-art','pop-up','sold-out','xoxo','sartorial'
];
var YOU_PROBABLY_HAVENT_HEARD_OF = [
'tofu', 'narwhal', 'mustache', 'kale-chips', 'cronut', 'bitters', 'synth', 'blog',
'quinoa', 'pork-belly', 'beard', 'messenger-bag', 'beer', 'umami', 'roof-party', 'swag',
'hashtag', 'wolf', 'hoodie', 'skateboard', 'listicle', 'brunch', 'cardigan', 'photo-booth',
'cornhole', 'leggings', 'selfie', 'chia', 'jean-shorts', 'meditation', 'aesthetic', 'cred',
'fashion', 'axe', 'mixtape', 'squid', '8-track', 'butcher', 'keytar', 'banjo',
'cold-brew', 'fingerstache', 'seitan', 'food-truck', 'vhs', 'sriracha', 'dreamcatcher', 'fixie',
'tote-bag', 'typewriter', 'kitsch', 'irony', 'mimosa', 'wayfarer', 'pug', 'intelligentsia',
'collard-greens', 'frisbee', 'helvetica', 'trust-fund', 'tilde', 'portland' //, '', ''
];
function hipsteroku() {
return [
BEFORE_IT_WAS_COOL[Math.floor(Math.random() * BEFORE_IT_WAS_COOL.length)],
YOU_PROBABLY_HAVENT_HEARD_OF[Math.floor(Math.random() * YOU_PROBABLY_HAVENT_HEARD_OF.length)],
Array.apply(null, {length: 4}).map(function () {return '' + Math.floor(Math.random() * 10);}).join('')
].join('-');
}
module.exports = hipsteroku;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment