https://github.com/guillembonet/ipify
Small docker container which returns the source IP of http calls.
https://github.com/guillembonet/ipify
chatgpt go golang ipify
Last synced: about 1 year ago
JSON representation
Small docker container which returns the source IP of http calls.
- Host: GitHub
- URL: https://github.com/guillembonet/ipify
- Owner: Guillembonet
- Created: 2023-01-30T10:21:14.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-01-30T10:21:16.000Z (over 3 years ago)
- Last Synced: 2024-06-20T20:43:23.955Z (about 2 years ago)
- Topics: chatgpt, go, golang, ipify
- Language: Go
- Homepage: https://hub.docker.com/r/bunetz/ipify
- Size: 1000 Bytes
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ipify
[](https://hub.docker.com/r/bunetz/ipify)
[](https://hub.docker.com/r/bunetz/ipify)
### **This code has been almost fully generated by Chat GPT ([conversation here](https://shareg.pt/biepFzJ)).**
## Description
Small docker container which returns the source IP of http calls.
## Usage
Just run the container and optionally specify flags:
```
-listenAddress string
address to listen http requests on (for example 0.0.0.0:80) (default ":3000")
```
Get the public IP with:
`curl http://localhost:3000`