Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

ifconfig.me is a similar service which I often use. It has a nice feature that if you do "curl ifconfig.me", you'll get only a string with the ip address, no markup.


This site is behind cloudflare and has captcha-blocked my queries more than once.


ifconfig.me is not behind Cloudflare, at least currently.


On a Reddit post, someone mentioned ip.wtf that they created as a similar service. Aside from using it in a browser, it also provides a single IP address with curl ip.wtf, with less typing. I also like getting more information by using this: curl --json "" ip.wtf


Me too, but that's a whopping 5 characters more. Think of all the extra keyboard wear!

I do like the curl-ability of that one a lot, though, and on my own computer I can just configure an alias or shell function for it :)


Try "curl ip.wtf" to save your keyboard :)




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

Search: