Hacker Newsnew | past | comments | ask | show | jobs | submit | more coderholic's commentslogin

50% off any of the http://ipinfo.io geolocation API paid plans for 6 months. Offer valid until Dec 2nd:

https://ipinfo.io/pricing?coupon=blackfriday2014


http://ipinfo.io API gets ~300M requests per month


How did you make the demo? I'd love to put something similar on http://ipinfo.io


Using tty2gif, I've made it work at my mac. Only need to find some time to upload the changes to the repo.

  http://z24.github.io/tty2gif/


tty2gif author here. Could you send me a pull request about your mac version? I can merge them if I have time. Thanks for your efforts!


Yes, and in fact you can just use sort's -u (unqiue) argument, and avoid uniq all together.


Thanks for the clarification!


A google for "japan government official website" turns up http://japan.kantei.go.jp. We can then use the ipinfo.io API to find out which network this is on:

  $ curl ipinfo.io/`dig +short japan.kantei.go.jp`
  {
    "ip": "202.32.211.142",
    "hostname": "No Hostname",
    "city": null,
    "region": null,
    "country": "JP",
    "loc": "35.6900,139.6900",
    "org": "AS2497 Internet Initiative Japan Inc."
  }
We can lookup more details at http://ipinfo.io/AS2497. It looks like lots of different organization share this network, including Coca-Cola, and a bunch of universities, so filtering based on this network is going to get us what we're after. You can also go to http://ipinfo.io/countries/jp and see all of the networks in Japan. There are a few that are government related, but there doesn't seem to be a main or single network that the government uses.

Things are easier in the UK where you have http://ipinfo.io/AS29214 (Houses of Parliament) or Ireland where you have http://ipinfo.io/AS15806 (Irish Government)


Why do you assume the website and their internet connections are in the same block?

Many companies and organisations use external hosting.


Yes, experiencing the same from 67.188.232.131


Here are details for all of the IPs in that doc:

  $ curl -s http://daserste.ndr.de/panorama/xkeyscorerules100.txt | grep -Eo "([0-9]+\.?){4}" | xargs -I% curl -s http://ipinfo.io/%
  {
    "ip": "193.23.244.244",
    "hostname": "No Hostname",
    "city": null,
    "region": null,
    "country": "DE",
    "loc": "51.0000,9.0000",
    "org": "AS50472 Chaos Computer Club e.V."
  }{
    "ip": "194.109.206.212",
    "hostname": "tor.dizum.com",
    "city": null,
    "region": null,
    "country": "NL",
    "loc": "52.5000,5.7500",
    "org": "AS3265 XS4ALL Internet BV"
  }{
    "ip": "86.59.21.38",
    "hostname": "No Hostname",
    "city": null,
    "region": null,
    "country": "AT",
    "loc": "47.3333,13.3333",
    "org": "AS3248 Tele2 Telecommunication GmbH"
  }{
    "ip": "213.115.239.118",
    "hostname": "No Hostname",
    "city": null,
    "region": null,
    "country": "SE",
    "loc": "62.0000,15.0000",
    "org": "AS2119 Telenor Norge AS"
  }{
    "ip": "212.112.245.170",
    "hostname": "No Hostname",
    "city": null,
    "region": null,
    "country": "DE",
    "loc": "51.0000,9.0000",
    "org": "AS24900 QSC AG"
  }{
    "ip": "128.31.0.39",
    "hostname": "belegost.csail.mit.edu",
    "city": "Cambridge",
    "region": "Massachusetts",
    "country": "US",
    "loc": "42.3646,-71.1028",
    "org": "AS3 Massachusetts Institute of Technology",
    "postal": "02139"
  }{
    "ip": "216.224.124.114",
    "hostname": "No Hostname",
    "city": "Aptos",
    "region": "California",
    "country": "US",
    "loc": "37.0082,-121.8777",
    "org": "AS40231 Ethr.Net LLC",
    "postal": "95003"
  }{
    "ip": "208.83.223.34",
    "hostname": "No Hostname",
    "city": "San Francisco",
    "region": "California",
    "country": "US",
    "loc": "37.7749,-122.4194",
    "org": "AS40475 Applied Operations, LLC",
    "postal": "94159"
  }{
    "ip": "128.31.0.34",
    "hostname": "moria.csail.mit.edu",
    "city": "Cambridge",
    "region": "Massachusetts",
    "country": "US",
    "loc": "42.3646,-71.1028",
    "org": "AS3 Massachusetts Institute of Technology",
    "postal": "02139"
  }


I launched http://ipinfo.io back in 2013 and when it hit 50M API requests a day early this year I decided to launch the paid plans, and it's been profitable ever since. It's now hosted across 2 providers in 3 different cities, and handles almost 100M requests per day with a p99 of less than 1s and p50 of less than 100ms. Expect more services and features later this year!


That traffic is pretty impressive, I've seen your site before and even though I don't have an obvious need for it I've had it bookmarked for a while.

Congratulations :)


Thanks!


Your product is impressive but I think you can do with this product much more valuable things.

For example, I want to specialize my landing page depends on visitors location. For example I want to change if user comes from US H1 and H2 message. Can you build something makes this possible?


You can absolutely customize your LP depending on the user's location by using http://ipinfo.io, eg:

  $.get("http://ipinfo.io", function (response) {
      if(response.country == "US") display_us_message();
      else if(response.country == "TR") display_turkey_message();
      else display_generic_message();
  }, "jsonp");
I'll send you a mail to see if you're proposing something else.


I wrote much of the original BusMapper website and all of the iOS app. The only other person involved (other than Azmat, the CityMapper founder) was Mattias, who did all of the hard core routing algorithms - is he the guy on your team?

You can still get the BusMapper app at https://itunes.apple.com/us/app/busmapper/id431558152?mt=8, but CityMapper has come a long way since then!


Hello. Nope its me. I built the android version.


Oh hey Andy - sorry, I forgot about the android version! Hope you're well! :)


No worries Ben. I imagine you wrote more code than I did for BusMapper anyway.


Andy exposed himself already. :)


I've been on Breue since the start (thanks Zach!), and there have been some great products and some really interesting discussions. It'll be really interesting to see what shape this takes as the community grows!


Thanks man! I really appreciate the kind words, we're excited to see where it goes! :)


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: