Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Tal Safran committed Feb 13, 2012
1 parent 358a543 commit 646b93e
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.md
@@ -1,5 +1,6 @@
Disclaimer: This is one of the first things I've written in Python. So be gentle. Recovering Rubyist here :) Disclaimer: This is one of the first things I've written in Python. So be gentle. Recovering Rubyist here :)


```bash
$ domainr talsafran $ domainr talsafran
Looking up domains for talsafran... Looking up domains for talsafran...
talsafran.com - taken talsafran.com - taken
Expand All @@ -14,6 +15,7 @@ Disclaimer: This is one of the first things I've written in Python. So be gentle
t.al - unavailable t.al - unavailable
t.ls - unavailable t.ls - unavailable
tl - tld tl - tld
```


## Domainr Command Line Interface ## Domainr Command Line Interface
If you're like me, you love the website [Domai.nr](http://domai.nr). You type in a name you have in mind for a domain and it spits back as many clever domain possibilities as it can find, including domain hacks. That's badass. If you're like me, you love the website [Domai.nr](http://domai.nr). You type in a name you have in mind for a domain and it spits back as many clever domain possibilities as it can find, including domain hacks. That's badass.
Expand All @@ -23,17 +25,22 @@ Now if you're *really* like me, you like doing things in the command line as muc
## Requirements and Installation ## Requirements and Installation
First go and grab the repo: First go and grab the repo:


```bash
$ git clone https://github.com/talsafran/domainr.git $ git clone https://github.com/talsafran/domainr.git
```


I'm fairly confident you need version 2.6 or greater for the json library. So go and get that. I'm fairly confident you need version 2.6 or greater for the json library. So go and get that.


Now you can either copy the script into your PATH or create a symlink. Whatever floats your boat. Now you can either copy the script into your PATH or create a symlink. Whatever floats your boat.


```bash
$ cp domainr /usr/local/bin $ cp domainr /usr/local/bin
```


## How to use this thing ## How to use this thing
Very simple. Just type in ``domainr`` and the name of the site you're looking for. Very simple. Just type in ``domainr`` and the name of the site you're looking for.


```bash
$ domainr talsafran $ domainr talsafran
Looking up domains for talsafran... Looking up domains for talsafran...
talsafran.com - taken talsafran.com - taken
Expand All @@ -48,9 +55,11 @@ Very simple. Just type in ``domainr`` and the name of the site you're looking fo
t.al - unavailable t.al - unavailable
t.ls - unavailable t.ls - unavailable
tl - tld tl - tld
```


It even works with multiple domains. It even works with multiple domains.


```bash
$ domainr talsafran sharonsafran $ domainr talsafran sharonsafran
Looking up domains for talsafran... Looking up domains for talsafran...
talsafran.com - taken talsafran.com - taken
Expand Down Expand Up @@ -82,5 +91,6 @@ It even works with multiple domains.
sh.ar - unavailable sh.ar - unavailable
s.hr - available s.hr - available
sh - tld sh - tld
```


-- [@talsafran](http://twitter.com/talsafran) -- [@talsafran](http://twitter.com/talsafran)

0 comments on commit 646b93e

Please sign in to comment.