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

okor: 3d86cdd0de appease heroku преди 10 години
public 7e41f12568 reverting to raw dump, enable cacheing преди 13 години
views 7e41f12568 reverting to raw dump, enable cacheing преди 13 години
.gitignore bd4d5e1204 remove dump преди 13 години
.ruby-version 66912bc157 update this old bag of bones преди 10 години
Gemfile 3d86cdd0de appease heroku преди 10 години
Gemfile.lock 4be839c472 respond with actual JSON преди 10 години
README.md 530a8f7ecd simple README преди 13 години
config.ru 258fa8ee48 init преди 13 години
main.rb 4be839c472 respond with actual JSON преди 10 години

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