https://github.com/andrewcopeland/ipd
ipd - IPDetective ip bot detection and ip geolocation from the command line
https://github.com/andrewcopeland/ipd
bot detection geolocation ip ip-geolocation
Last synced: 5 months ago
JSON representation
ipd - IPDetective ip bot detection and ip geolocation from the command line
- Host: GitHub
- URL: https://github.com/andrewcopeland/ipd
- Owner: AndrewCopeland
- License: mit
- Created: 2024-11-07T20:53:12.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-11-10T16:55:40.000Z (over 1 year ago)
- Last Synced: 2025-04-30T17:08:21.812Z (about 1 year ago)
- Topics: bot, detection, geolocation, ip, ip-geolocation
- Language: Go
- Homepage: https://ipdetective.io
- Size: 18.8 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ipd
ipd - ip bot detection and ip geolocation command line utility
If you hit limit restriction set your environment variable 'IPDETECTIVE_API_KEY'
Get your free api key at https://ipdetective.io
## Installation
On linux and mac perform the following command:
```
curl -s "https://raw.githubusercontent.com/AndrewCopeland/ipd/refs/heads/main/install.sh" | bash
```
To install on windows you must download the executable file from the [archive](https://github.com/AndrewCopeland/ipd/releases)
## Usage
Get my current machines IP address:
```bash
ipd
```
Get other machines IP address:
```bash
ipd 8.8.8.8
```
Get other machines IP address in JSON format:
```bash
ipd -json 8.8.8.8
```
Get other machines IP address in CSV format:
```bash
ipd -csv 8.8.8.8
```
Get all unique nginx vistors and output to CSV
```bash
cat /var/log/nginx/access.log | awk '{print $1}' | sort | uniq | ipd -csv > unique_vistors.csv
```