/nodejs-ip-grabber

Fetch any user's ip address, just by clicking the site.

Primary LanguageCSS

NodeJS Ip Grabber

image image image

Description

ExpressJS app that requests the user's headers, where the originating ip address is located. This gets sent to a discord webhook with aditional information such as: country, region, timezone and city. The region and the city will not be accurate 90% of the time.

Create .env file

Create a .env file to store the webhook link. Example below:

WEBHOOK_URI = https://discord.com/api/webhooks/xxxxxxxxxxx/xxxxxxxxxxxx

Installation

To install and run this project - install dependencies using npm and then start your server.

$ npm install
$ npm run dev

Credits

Thanks to the evilportals github, i could include the google signup page. Please check it out.