A very simple endpoint to get your public IP address https://ip.kytta.dev/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
Nikita Karamov 91f5e0bddd
v2.0.2
6 months ago
.github Update usernames 6 months ago
api Set Content-Type to 'text/plain' 1 year ago
.editorconfig Update .editorconfig 1 year ago
.gitignore Update .gitignore 1 year ago
LICENSE Migrate licence to AGPL 3.0 1 year ago
README.md Update README 6 months ago
package.json v2.0.2 6 months ago
pnpm-lock.yaml Bump dependencies 6 months ago
vercel.json Use "rewrites" instead of "routes" 1 year ago

README.md

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:

Deploy with Vercel

Licence

AGPL-3.0-only © 2021–2022 Nikita Karamov


This project is hosted on Codeberg: https://codeberg.org/kytta/ip