Skip to content

Instantly share code, notes, and snippets.

@ianterrell
Created April 16, 2011 16:40
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ianterrell/923260 to your computer and use it in GitHub Desktop.
Save ianterrell/923260 to your computer and use it in GitHub Desktop.
Generate .coms for a bulk search
# Usage:
# ruby bulk_domain_generator.rb word [word...]
suffixes = ['able','ac','acity','ade','age','aholic','al','algia','an','ance','ant','ar','ard','arian','arium','ary','ate','ation','ative','cide','cracy','crat','cule','cy','cycle','dom','dox','ectomy','ed','ee','eer','emia','en','ence','ency','ent','er','ern','escence','ese','esque','ess','est','etic','ette','ful','fy','hood','ial','ian','iasis','iatric','ible','ile','ily','ine','ing','ion','ious','ish','ism','ist','ite','itis','ity','ive','ization','ize','less','let','like','ling','log','ly','ment','ness','oid','ology','oma','onym','opia','opsy','or','ory','osis','ous','path','pathy','phile','phobia','phone','phyte','plegia','plegic','pnea','sect','ship','sion','some','th','tion','trophy','tude','ty','ular','uous','ure','ward','ware','wise','y']
i = 0
ARGV.each do |a|
suffixes.each do |b|
i += 1
puts "#{a}#{b}.com"
# GoDaddy bulk search limits to 500 domains, so visually separate out the sections
# for easy copy paste action
if i % 500 == 0
puts "\n\n\n\n\n\n\n"
end
end
end
# Now copy paste each section into the bulk registration form:
# http://www.godaddy.com/domains/searchbulk.aspx
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment