A simple Whois server with a simple simple API and a front-end built with AngularJS.

James Peret: 4be67e5e01 changed ruby version to 2.2.2 for heroku compatibility лет %!s(int64=10): %!d(string=назад)
public 46d58a4053 J1X Whois Server modifications лет %!s(int64=10): %!d(string=назад)
views 46d58a4053 J1X Whois Server modifications лет %!s(int64=10): %!d(string=назад)
.DS_Store 46d58a4053 J1X Whois Server modifications лет %!s(int64=10): %!d(string=назад)
.gitignore 46d58a4053 J1X Whois Server modifications лет %!s(int64=10): %!d(string=назад)
.ruby-version 66912bc157 update this old bag of bones лет %!s(int64=10): %!d(string=назад)
Gemfile 4be67e5e01 changed ruby version to 2.2.2 for heroku compatibility лет %!s(int64=10): %!d(string=назад)
Gemfile.lock 4be839c472 respond with actual JSON лет %!s(int64=10): %!d(string=назад)
README.md 530a8f7ecd simple README лет %!s(int64=13): %!d(string=назад)
config.ru 258fa8ee48 init лет %!s(int64=13): %!d(string=назад)
json_parser.rb 46d58a4053 J1X Whois Server modifications лет %!s(int64=10): %!d(string=назад)
main.rb 46d58a4053 J1X Whois Server modifications лет %!s(int64=10): %!d(string=назад)

README.md

About WhoIz

WhoIz is a simple WHOIS lookup application. It's built on Sinatra and Heroku friendly.

Use It

JSON

curl http://whoiz.herokuapp.com/lookup.json?url=yahoo.com

Browser

http://whoiz.herokuapp.com
http://whoiz.herokuapp.com/lookup?url=yahoo.com

Clone It

git clone git://github.com/okor/whoiz.git

Restrict It

Edit

main.rb

Change this

before do
  response['Access-Control-Allow-Origin'] = '*'
end

To this

before do
  response['Access-Control-Allow-Origin'] = 'http://yourwebsite.com'
end

Deploy It

heroku create
git push heroku master
heroku open