ifconfig.io

Get your public IP and network info instantly. This lightweight service is built for pure speed, handling thousands of requests per second with minimal memory.

Instantly discover your public IP address and other connection details with a service designed for pure speed and efficiency. Inspired by similar tools but rebuilt from the ground up for performance, it can handle an incredible 18,000 requests per second on a single server while consuming only 50MB of RAM. This performance is achieved using the Gin framework, which minimizes memory allocations for a consistently fast response.

Deploying your own instance is straightforward. You can build from the source code directly or use the provided Docker images for a quick setup with Docker Compose. The service is highly customizable through environment variables, allowing you to:

  • Set a custom hostname.
  • Define which headers to trust for the client's IP and country code.
  • Configure TLS for secure connections.

This makes it an ideal tool for developers, system administrators, and anyone needing a reliable and lightning-fast IP lookup utility for scripts, diagnostics, or personal use.

Directory Structure

ifconfig-io
ifconfig.io
.env
docker-compose.yml

docker-compose.yml

services:
  ifconfig:
    image: georgyo/ifconfig.io:latest
    container_name: ifconfig
    ports:
      - "8080:8080"
    restart: unless-stopped

.env

# ifconfig.io is a stateless application and does not require any sensitive environment variables or credentials.
Categories:

Share:

Ad
Favicon

 

  
 

Similar to ifconfig.io

Favicon

 

  
  
Favicon

 

  
  
Favicon