Skip to content

๐ŸŒ Returns the user's IP address in plaintext

License

Notifications You must be signed in to change notification settings

Strappazzon/cf-ip

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

7 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐ŸŒ cf-ip

Get your IP address in plaintext. Powered by Cloudflare Workers.

Deploy Cloudflare Worker

Usage

On Linux and WSL On Windows
curl ip.strappazzon.workers.dev
Invoke-WebRequest 'ip.strappazzon.workers.dev' | Select-Object -Expand Content

Deploy

  1. Create a Cloudflare account
  2. On your account home look at the right side of the page and click "Workers"
  3. Click "Create Worker"
  4. (Optional) Change the URL by clicking on the text box at the top left corner of the page
  5. Paste the content of src/ip.js from this repo to the Script tab
  6. Click "Save and Deploy"