https://github.com/smolgroot/whoami
Simple Go HTTP server - What's my IP service
https://github.com/smolgroot/whoami
geo-ip-blocking geo-ip-detection geoip-location go golang
Last synced: 22 days ago
JSON representation
Simple Go HTTP server - What's my IP service
- Host: GitHub
- URL: https://github.com/smolgroot/whoami
- Owner: smolgroot
- License: mit
- Created: 2023-09-16T20:29:25.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-09-18T23:23:48.000Z (over 2 years ago)
- Last Synced: 2025-08-10T21:28:23.344Z (10 months ago)
- Topics: geo-ip-blocking, geo-ip-detection, geoip-location, go, golang
- Language: CSS
- Homepage:
- Size: 7.81 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Whoami - Geo IP Blocking website
**Whoami** is a simple Go HTTP server providing a "What's my IP?" service.
You can use it for testing purpose to see if your IP address is effectively hidden behind a VPN or a Proxy (HTTP, SOCKS, etc.).
The app is serving a "fake" video streaming website called *Netblix*, which is known to geo-IP-block some of its content.
## Build
To build the app use
```
go build .
```
and to run it use
```
./whoami
```
## Geo IP Blocking
The app allows you to watch a movie if your IP is different from:
- `127.0.0.1`
- `::1`
By accessing the website through `0.0.0.0:8088` or `localhost:8088` you should be blocked, but with another network interface, you should be allowed.
> Coming: config file to customize IP blacklist and listening address and port