echoip/README.md

39 lines
791 B
Markdown
Raw Normal View History

2012-11-19 19:11:03 +01:00
ifconfig.co: Simple IP address lookup service
=============================================
A simple service for looking up your IP address. This is the code that powers
http://ifconfig.co
Basic usage
===========
2012-11-21 13:58:06 +01:00
The usual suspects
------------------
2012-11-19 19:11:03 +01:00
$ curl ifconfig.co
127.0.0.1
2012-11-19 23:59:32 +01:00
$ wget -q -O - ifconfig.co
2012-11-19 19:11:03 +01:00
127.0.0.1
2012-11-21 13:58:06 +01:00
BSD fetch
---------
$ fetch -q -o - ifconfig.co
2012-11-19 19:11:03 +01:00
127.0.0.1
2014-01-26 20:39:04 +01:00
Pass the appropriate flag (usually -4 and -6) to your tool to switch between
2012-11-19 19:11:03 +01:00
IPv4 and IPv6 lookup.
Features
========
* Easy to remember domain name
* Supports IPv4 and IPv6
* Open source
* Fast
* Supports typical CLI tools (curl, wget and fetch)
2014-12-22 00:19:29 +01:00
* JSON output (optional)
2012-11-19 19:11:03 +01:00
Why?
====
* To scratch an itch
* An excuse to use Go for something
* Faster than ifconfig.me and has IPv6 support