https://github.com/xavier-hernandez/yourip.sh
This is a fork and enhancement of ifconfig.io that includes Maxmind and Plausible Analytics
https://github.com/xavier-hernandez/yourip.sh
go golang ifconfig ipaddress maxmind maxmind-geoip plausible plausible-analytics whatismyip whatismyipaddress
Last synced: 4 months ago
JSON representation
This is a fork and enhancement of ifconfig.io that includes Maxmind and Plausible Analytics
- Host: GitHub
- URL: https://github.com/xavier-hernandez/yourip.sh
- Owner: xavier-hernandez
- License: mit
- Created: 2023-06-11T04:44:51.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-06-26T05:44:43.000Z (4 months ago)
- Last Synced: 2025-06-26T06:33:29.035Z (4 months ago)
- Topics: go, golang, ifconfig, ipaddress, maxmind, maxmind-geoip, plausible, plausible-analytics, whatismyip, whatismyipaddress
- Language: HTML
- Homepage: https://yourip.sh
- Size: 63.4 MB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# yourip.sh
## Fork of ifconfig.io
This is a fork of ifconfig.io. Please read the original repo for more configuration instructions.Original code: https://github.com/georgyo/ifconfig.io/
Original website: https://ifconfig.io/
## My Enhancements
- Maxmind
- Geo Location API or Local databases
- Plausible AnalyticsThis repo: https://github.com/xavier-hernandez/ipreveal.cc
Docker Image: https://hub.docker.com/r/xavierh/ipreveal
Website: https://yourip.sh
## Docker-Compose
Here is a sample docker-compose file:
``` bash
version: "3.4"services:
ipreveal:container_name: ipreveal
image: xavierh/ipreveal:latest
ports:
- 8080:8080
environment:
HOSTNAME: "ipreveal.cc"
MAXMIND_USERNAME: [USERNAME] #internal GeoLite2 databases are used if your not passing a username or password
MAXMIND_PASSWORD: [PASSWORD] #internal GeoLite2 databases are used if your not passing a username or password
PLAUSIBLE: [PLAUSIBLE_DOMAIN] #entering a domain here will enable the snippet
PLAUSIBLE_SELF_HOSTED_DOMAIN: [PLAUSIBLE_SELF_HOSTED_DOMAIN] #meant to set the JS script to your self hosted domain
FORWARD_IP_HEADER: X-Forwarded-For #if using npm as proxy
ICON_HTML: #OPTIONAL - Place any HTML here that you'd like to show in the top right of the page
```
# **Disclaimer**
This product includes GeoLite2 data created by MaxMind, available from
https://www.maxmind.com.