Skip to content

Latest commit

 

History

25 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

IP.8080.LI

A simple HTTP server that returns the visitor's IP address in Plain Text, JSON, JSONP or XML format along with optional geographic information.

Features

  • Supports IPv4 and IPv6
  • Returns the visitor's IP address in Plain Text, JSON, JSONP or XML format
  • Response optionally includes flag, continent, country, region, city, postal code, coordinates, timezone, and ASN details
  • No API key required. No ratelimit
  • 100% Free and Open Source
  • All-in-one binary – GeoIP database auto-updates built in (no separate updater needed)
  • Threat intelligence – checks IPs against the IPsum threat feed

Usage

The below APIs support programmatic access without any limits.

IP ONLY

IP + GEO

Search Other IP


Development (Go)

# clone this project
git clone https://github.com/P1N2O/ip.8080.li.git

# navigate to the project directory
cd ip.8080.li

# copy and set env variables
cp .env.example .env

# run directly
go run .

Deployment (Docker)

# clone this project
git clone https://github.com/P1N2O/ip.8080.li.git

# navigate to the project directory
cd ip.8080.li

# copy and set env variables
cp .env.example .env

# build and start container
docker compose up -d --build

Note: The GeoIP database auto-updater runs in the same process. Set GEOIPUPDATE_ACCOUNT_ID, GEOIPUPDATE_LICENSE_KEY, and GEOIPUPDATE_EDITION_IDS in your .env to enable automatic updates.

Credits

LICENSE

MIT License

About

A simple HTTP server that returns the visitor's IP address in Plain Text, JSON, JSONP or XML format along with optional geographic information.

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Used by

Contributors

Languages