wiz64 / myip

ipify.org clone

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ipify clone deployed on Vercel

Using the request-ip package to actually find the IP of the request.

Live example: https://ripal.klmntn.com/

Like ipify.org, there are three APIs provided:

  1. Plaintext at /api/text
  2. JSON at /api/json
  3. JSONP (with custom defined callback) at /api/jsonp/customCallbackName

Examples

Curl:

$ curl https://ripal.klmntn.com/api/text

Wget:

$ wget -qO- https://ripal.klmntn.com/api/text

Deploy to Vercel

About

ipify.org clone


Languages

Language:JavaScript 98.0%Language:HTML 2.0%