IdeaMonk

thoughts, ideas, code and other things...

Sunday, August 30, 2009

Web2Hunter.py - find that awesome web2.0 name for your startup

Python inspires a lot of code-reuse, every script you write today can be imported into something else tomorrow if written well. That's exactly what happened right now! the domainhunter script I wrote yesterday, I could actually re-use it right now and make a web2.0 domain hunter :) in just 5 minutes! Seriously it took nothing more than 5 minutes. Here it is -
#!/usr/bin/env python

# Web2Hunter -- Abhishek Mishra <ideamonk at gmail.com>
#
# a web 2.0 name generator extension to domainhunter.py
#
# usage -
# $ python web2hunter.py

import domainhunter as DH
import random

A = ["Anti", "Aero", "Babble", "Buzz", "Blog", "Blue", "Brain", "Bright", "Browse", "Bubble", "Chat", "Chatter", "Dab", "Dazzle", "Dev", "Digi", "Edge", "Feed", "Five", "Flash", "Flip", "Gab", "Giga", "Inno", "Jabber", "Jax", "Jet", "Jump", "Link", "Live", "My", "N", "Photo", "Pod", "Real", "Riff", "Shuffle", "Snap", "Skip", "Tag", "Tek", "Thought", "Top", "Topic", "Twitter", "Word", "You", "Zoom"]
B = ["bean", "beat", "bird", "blab", "box", "bridge", "bug", "buzz", "cast", "cat", "chat", "club", "cube", "dog", "drive", "feed", "fire", "fish", "fly", "ify", "jam", "links", "list", "lounge", "mix", "nation", "opia", "pad", "path", "pedia", "point", "pulse", "set", "space", "span", "share", "shots", "sphere", "spot", "storm", "ster", "tag", "tags", "tube", "tune", "type", "verse", "vine", "ware", "wire", "works", "XS", "Z", "zone", "zoom"]
C = ["Ai", "Aba", "Agi", "Ava", "Awesome", "Cami", "Centi", "Cogi", "Demi", "Diva", "Dyna", "Ea", "Ei", "Fa", "Ge", "Ja", "I", "Ka", "Kay", "Ki", "Kwi", "La", "Lee", "Mee", "Mi", "Mu", "My", "Oo", "O", "Oyo", "Pixo", "Pla", "Qua", "Qui", "Roo", "Rhy", "Ska", "Sky", "Ski", "Ta", "Tri", "Twi", "Tru", "Vi", "Voo", "Wiki", "Ya", "Yaki", "Yo", "Za", "Zoo"]
D = ["ba", "ble", "boo", "box", "cero", "deo", "del", "do", "doo", "gen", "jo", "lane", "lia", "lith", "loo", "lium", "mba", "mbee", "mbo", "mbu", "mia", "mm", "nder", "ndo", "ndu", "noodle", "nix", "nte", "nti", "nu", "nyx", "pe", "re", "ta", "tri", "tz", "va", "vee", "veo", "vu", "xo", "yo", "zz", "zzy", "zio", "zu"]

if __name__ == "__main__":
while (1):
# lets shuffle our pack of cards
random.shuffle(A)
random.shuffle(B)
random.shuffle(C)
random.shuffle(D)

if (random.randint(0,1) == 1):
awesomename = A[0] + B[0]
else:
awesomename = C[0] + D[0]

print awesomename + ": \t\t",

for tld in DH.tlds:
if ( DH.domainSearch(awesomename + tld) ):
print "[+]" + tld + "\t",
else:
print "[X]" + tld + "\t",
print

$ python web2hunter.py
Photospace: [X].com [X].net [X].org
Zoomcast: [X].com [X].net [+].org
Digitags: [X].com [+].net [+].org
Jabberpath: [+].com [+].net [+].org
Kaboo: [X].com [X].net [X].org

Just press Ctrl+Z if you see an awesome domain.
You can now get domainhunter+web2hunter from its guthub repository -
$ git clone git://github.com/ideamonk/web2hunter.git

Have fun! (woah! what a find - Awesomenoodle .com/.net/.org )

Labels: , , ,

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home