Skip to content

bobbyiliev/cf-geoip

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GEO IP LOOKUP SERVICE

Simple service that returns the country code of the IP address passed as an argument.

Mainly intended for use with the access summary script:

BASH Script to Summarize Your NGINX and Apache Access Logs

Demo URL

https://cf-geoip.bobbyiliev.workers.dev/

Endpoints

  • GET / - Returns your IP address and the country code
  • GET /?ip=<ip> - Returns the country code of the IP address passed as an argument
  • GET /:ip - Returns the country code of the IP address passed as an argument.

About

Geo IP Lookup Cloudflare Worker Service

Resources

Stars

Watchers

Forks