Skip to content

nosqd/ip.nosqd.dev

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ip.nosqd.dev

A blazingly fast IP information service written in Rust. Inspired by ipinfo.io, but designed to be minimal, dependency-light, and easily self-hostable via Docker.

Usage

Browser

Simply visit https://ip.nosqd.dev in your browser.

CLI (JSON)

$ curl -L ip.nosqd.dev
{
  "ip": "1.1.1.1",
  "city": "Brisbane",
  "country": "Australia",
  "asn": 13335,
  "asn_org": "CLOUDFLARENET",
  "flag": "🇦🇺"
}

Self-Hosting

Using docker

docker pull ghcr.io/nosqd/ip.nosqd.dev:latest
docker run -p 3000:3000 ghcr.io/nosqd/ip.nosqd.dev:latest

Using Nix

nix run github:nosqd/ip.nosqd.dev

Environment Variables

  • PORT: Port to listen on (default: 3000)
  • CITY_DB_PATH: Path to GeoLite2-City.mmdb (if you are using docker container, that will be packaged automatically)
  • ASN_DB_PATH: Path to GeoLite2-ASN.mmdb (if you are using docker container, that will be packaged automatically)

Acknowledgements

About

A blazingly fast IP information service written in Rust.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors