Skip to content
/ intip Public

A simple bash scripting for searching geo location base on ip πŸ‘€.

Notifications You must be signed in to change notification settings

adiatma/intip

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

16 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

intip

A simple bash scripting for searching geo location base on ip πŸ‘€.

easy to install, no need dependencies, you just need bash.

Install

curl -fsSL https://raw.githubusercontent.com/adiatma/intip/master/install.sh -s | bash

Usage

intip.sh --inline <ip>
{
  "status": "success",
  "continent": "Asia",
  "continentCode": "AS",
  "country": "Indonesia",
  "countryCode": "ID",
  "region": "SN",
  "regionName": "South Sulawesi",
  "city": "Malili",
  "district": "",
  "zip": "",
  "lat": -2.6351,
  "lon": 121.095,
  "timezone": "Asia/Makassar",
  "offset": 28800,
  "currency": "IDR",
  "isp": "PT. TELKOM INDONESIA",
  "org": "",
  "as": "AS7713 PT Telekomunikasi Indonesia",
  "asname": "telkomnet-as-ap",
  "reverse": "",
  "mobile": false,
  "proxy": false,
  "hosting": false,
  "query": "36.83.131.186"
}

More

Usage with inline

intip.sh --inline # get your ip location
# or
intip.sh --inline <ip>

Usage with prompt

intip.sh --prompt

Export to json

intip.sh --inline <ip> >> to.json | cat to.json

Get in one field

intip.sh --inline | jq '.isp'
PT. TELKOM INDONESIA

About

A simple bash scripting for searching geo location base on ip πŸ‘€.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages