An open API service indexing awesome lists of open source software.

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.

Awesome Lists containing this project

README

          

# ipify

[![Docker Version](https://img.shields.io/docker/v/bunetz/ipify?sort=date)](https://hub.docker.com/r/bunetz/ipify)
[![Docker Pulls](https://img.shields.io/docker/pulls/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`