kytta/ip
A very simple endpoint to get your public IP address
Usage
Just send a GET request to ip.kytta.dev using your
tool of choice (examples below). In response, you'll get the IP address as
text/plain
. If the IP address could not be determined, 0.0.0.0
will be
returned.
cURL
curl -L ip.kytta.dev
wget
wget -qO- ip.kytta.dev
HTTPie
https -b ip.kytta.dev
Deploy
Don't trust me? Deploy it yourself:
Licence
AGPL-3.0-only © 2021–2022 Nikita Karamov
This project is hosted on Codeberg: https://codeberg.org/kytta/ip