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

James Peret: 51acf28286 Rack CORS re config fix vor 10 Jahren
public 46d58a4053 J1X Whois Server modifications vor 10 Jahren
views 46d58a4053 J1X Whois Server modifications vor 10 Jahren
.DS_Store 46d58a4053 J1X Whois Server modifications vor 10 Jahren
.gitignore 46d58a4053 J1X Whois Server modifications vor 10 Jahren
.ruby-version 66912bc157 update this old bag of bones vor 10 Jahren
Gemfile 54b0d0492b Added support for CORS vor 10 Jahren
Gemfile.lock 54b0d0492b Added support for CORS vor 10 Jahren
README.md 530a8f7ecd simple README vor 13 Jahren
config.ru 51acf28286 Rack CORS re config fix vor 10 Jahren
json_parser.rb 46d58a4053 J1X Whois Server modifications vor 10 Jahren
main.rb 54b0d0492b Added support for CORS vor 10 Jahren

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